providers/aws: read internal for ELB
This commit is contained in:
parent
e3c7ccb1d7
commit
6e02465be7
|
@ -284,6 +284,10 @@ func resource_aws_elb_update_state(
|
||||||
s.Attributes["name"] = balancer.LoadBalancerName
|
s.Attributes["name"] = balancer.LoadBalancerName
|
||||||
s.Attributes["dns_name"] = balancer.DNSName
|
s.Attributes["dns_name"] = balancer.DNSName
|
||||||
|
|
||||||
|
if balancer.Scheme == "internal" {
|
||||||
|
s.Attributes["internal"] = "true"
|
||||||
|
}
|
||||||
|
|
||||||
// Flatten our group values
|
// Flatten our group values
|
||||||
toFlatten := make(map[string]interface{})
|
toFlatten := make(map[string]interface{})
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue