Merge pull request #5045 from tpounds/fix-read-aws-asg-elbs
provider/aws: Fix reading auto scaling group load balancers
This commit is contained in:
commit
83b1c4ae52
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue