Fix load balancers read logic.

This commit is contained in:
Trevor Pounds 2016-01-22 23:21:59 -08:00
parent 2baff8ad22
commit 8ceeaaf7ff
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ func resourceAwsAutoscalingGroupRead(d *schema.ResourceData, meta interface{}) e
d.Set("health_check_grace_period", g.HealthCheckGracePeriod) d.Set("health_check_grace_period", g.HealthCheckGracePeriod)
d.Set("health_check_type", g.HealthCheckType) d.Set("health_check_type", g.HealthCheckType)
d.Set("launch_configuration", g.LaunchConfigurationName) d.Set("launch_configuration", g.LaunchConfigurationName)
d.Set("load_balancers", g.LoadBalancerNames) d.Set("load_balancers", flattenStringList(g.LoadBalancerNames))
d.Set("min_size", g.MinSize) d.Set("min_size", g.MinSize)
d.Set("max_size", g.MaxSize) d.Set("max_size", g.MaxSize)
d.Set("placement_group", g.PlacementGroup) d.Set("placement_group", g.PlacementGroup)