lib/terraforming/template/tf/elb.erb in terraforming-0.1.1 vs lib/terraforming/template/tf/elb.erb in terraforming-0.1.2

- old
+ new

@@ -29,8 +29,14 @@ unhealthy_threshold = <%= load_balancer.health_check.unhealthy_threshold %> interval = <%= load_balancer.health_check.interval %> target = "<%= load_balancer.health_check.target %>" timeout = <%= load_balancer.health_check.timeout %> } + + tags { +<% @client.describe_tags(load_balancer_names: [load_balancer.load_balancer_name]).tag_descriptions.first.tags.each do |tag| -%> + <%= tag.key %> = "<%= tag.value %>" +<% end -%> + } } <% end -%>