Fix int64 cast.
This commit is contained in:
parent
e173b60f10
commit
e8f1f57ead
|
@ -452,7 +452,7 @@ func resourceAwsElbUpdate(d *schema.ResourceData, meta interface{}) error {
|
||||||
log := logs[0].(map[string]interface{})
|
log := logs[0].(map[string]interface{})
|
||||||
accessLogs := &elb.AccessLog{
|
accessLogs := &elb.AccessLog{
|
||||||
Enabled: aws.Bool(log["enabled"].(bool)),
|
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)),
|
S3BucketName: aws.String(log["bucket"].(string)),
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue