fixed incorrect param name
This commit is contained in:
parent
22b442bed6
commit
e6f2f2e39c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue