From e6f2f2e39c068eab12cbf241e25ab71f760787e8 Mon Sep 17 00:00:00 2001 From: Dennis Webb Date: Mon, 19 Sep 2016 11:24:27 -0400 Subject: [PATCH] fixed incorrect param name --- builtin/providers/aws/resource_aws_autoscaling_policy.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/providers/aws/resource_aws_autoscaling_policy.go b/builtin/providers/aws/resource_aws_autoscaling_policy.go index 63ca8341c..3c91bd32b 100644 --- a/builtin/providers/aws/resource_aws_autoscaling_policy.go +++ b/builtin/providers/aws/resource_aws_autoscaling_policy.go @@ -220,7 +220,7 @@ func getAwsAutoscalingPutScalingPolicyInput(d *schema.ResourceData) (autoscaling //if policy_type=="SimpleScaling" then scaling_adjustment is required and 0 is allowed if v, ok := d.GetOk("scaling_adjustment"); ok || *params.PolicyType == "SimpleScaling" { - params.EstimatedInstanceWarmup = aws.Int64(int64(v.(int))) + params.ScalingAdjustment = aws.Int64(int64(v.(int))) } if v, ok := d.GetOk("step_adjustment"); ok {