lib/terraforming/template/tf/eip.erb in terraforming-0.12.0 vs lib/terraforming/template/tf/eip.erb in terraforming-0.13.0

- old
+ new

@@ -1,6 +1,6 @@ <% eips.each do |addr| -%> -resource "aws_eip" "<%= addr.allocation_id %>" { +resource "aws_eip" "<%= module_name_of(addr) %>" { <% if addr.instance_id -%> instance = "<%= addr.instance_id %>" <% elsif addr.network_interface_id -%> network_interface = "<%= addr.network_interface_id %>" <% end -%>