From 6e02465be778ed1f4374ff5959ee4d165d043410 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 30 Sep 2014 13:37:04 -0700 Subject: [PATCH] providers/aws: read internal for ELB --- builtin/providers/aws/resource_aws_elb.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/builtin/providers/aws/resource_aws_elb.go b/builtin/providers/aws/resource_aws_elb.go index 2d4a47986..86ec3d570 100644 --- a/builtin/providers/aws/resource_aws_elb.go +++ b/builtin/providers/aws/resource_aws_elb.go @@ -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{})