lib/terraforming/template/tf/eip.erb in terraforming-0.9.1 vs lib/terraforming/template/tf/eip.erb in terraforming-0.10.0
- old
+ new
@@ -1,11 +1,11 @@
<% eips.each do |addr| -%>
resource "aws_eip" "<%= addr.allocation_id %>" {
<% if addr.instance_id -%>
- instance = "<%= addr.instance_id %>"
+ instance = "<%= addr.instance_id %>"
<% elsif addr.network_interface_id -%>
- network_interface_id = "<%= addr.network_interface_id %>"
+ network_interface = "<%= addr.network_interface_id %>"
<% end -%>
- vpc = <%= is_vpc?(addr) %>
+ vpc = <%= vpc?(addr) %>
}
<% end -%>