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 {