providers/aws: read internal for ELB

This commit is contained in:
Mitchell Hashimoto 2014-09-30 13:37:04 -07:00
parent e3c7ccb1d7
commit 6e02465be7
1 changed files with 4 additions and 0 deletions

View File

@ -284,6 +284,10 @@ func resource_aws_elb_update_state(
s.Attributes["name"] = balancer.LoadBalancerName
s.Attributes["dns_name"] = balancer.DNSName
if balancer.Scheme == "internal" {
s.Attributes["internal"] = "true"
}
// Flatten our group values
toFlatten := make(map[string]interface{})