Fix int64 cast.

This commit is contained in:
Trevor Pounds 2015-10-30 15:02:58 -07:00 committed by clint shryock
parent e173b60f10
commit e8f1f57ead
1 changed files with 1 additions and 1 deletions

View File

@ -452,7 +452,7 @@ func resourceAwsElbUpdate(d *schema.ResourceData, meta interface{}) error {
log := logs[0].(map[string]interface{})
accessLogs := &elb.AccessLog{
Enabled: aws.Bool(log["enabled"].(bool)),
EmitInterval: aws.Int64(log["interval"].(int64)),
EmitInterval: aws.Int64(int64(log["interval"].(int))),
S3BucketName: aws.String(log["bucket"].(string)),
}