as per advice from stack72 to stick to strings
This commit is contained in:
parent
0d2007e8bd
commit
68c7baa20e
|
@ -180,9 +180,8 @@ func resourceAwsAutoscalingGroupCreate(d *schema.ResourceData, meta interface{})
|
||||||
autoScalingGroupOpts.HealthCheckGracePeriod = aws.Int64(int64(v.(int)))
|
autoScalingGroupOpts.HealthCheckGracePeriod = aws.Int64(int64(v.(int)))
|
||||||
}
|
}
|
||||||
|
|
||||||
if v, ok := d.GetOk("placement_group"); ok && v.(*schema.Set).Len() > 0 {
|
if v, ok := d.GetOk("placement_group"); ok {
|
||||||
autoScalingGroupOpts.PlacementGroup = expandStringList(
|
autoScalingGroupOpts.PlacementGroup = aws.String(v.(string))
|
||||||
v.(*schema.Set).List())
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if v, ok := d.GetOk("load_balancers"); ok && v.(*schema.Set).Len() > 0 {
|
if v, ok := d.GetOk("load_balancers"); ok && v.(*schema.Set).Len() > 0 {
|
||||||
|
|
Loading…
Reference in New Issue