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:
Paul Stack 2016-02-08 19:47:22 +00:00
commit 83b1c4ae52
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)