From 78f9fb164b131dc7b2baf37f9a85cdc99c79808a Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 22 Apr 2015 08:42:44 +0200 Subject: [PATCH] provider/aws: fix compilation errors --- builtin/providers/aws/resource_aws_elb.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/builtin/providers/aws/resource_aws_elb.go b/builtin/providers/aws/resource_aws_elb.go index fcd1186ae..954db8cc8 100644 --- a/builtin/providers/aws/resource_aws_elb.go +++ b/builtin/providers/aws/resource_aws_elb.go @@ -396,11 +396,11 @@ func resourceAwsElbUpdate(d *schema.ResourceData, meta interface{}) error { Enabled: aws.Boolean(d.Get("cross_zone_load_balancing").(bool)), }, ConnectionSettings: &elb.ConnectionSettings{ - IdleTimeout: aws.Integer(d.Get("idle_timeout").(int)), + IdleTimeout: aws.Long(int64(d.Get("idle_timeout").(int))), }, ConnectionDraining: &elb.ConnectionDraining{ Enabled: aws.Boolean(d.Get("connection_draining").(bool)), - Timeout: aws.Integer(d.Get("connection_draining_timeout").(int)), + Timeout: aws.Long(int64(d.Get("connection_draining_timeout").(int))), }, }, }