fixed incorrect param name

This commit is contained in:
Dennis Webb 2016-09-19 11:24:27 -04:00
parent 22b442bed6
commit e6f2f2e39c
1 changed files with 1 additions and 1 deletions

View File

@ -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 {