lib/terraforming/template/tf/ec2.erb in terraforming-0.6.1 vs lib/terraforming/template/tf/ec2.erb in terraforming-0.6.2
- old
+ new
@@ -12,10 +12,12 @@
<%- else -%>
security_groups = <%= instance.security_groups.map { |sg| sg.group_name }.inspect %>
<%- end -%>
associate_public_ip_address = true
private_ip = "<%= instance.private_ip_address %>"
+<%- if instance.source_dest_check -%>
source_dest_check = <%= instance.source_dest_check %>
+<%- end -%>
<% block_devices_of(instance).each do |block_device| -%>
<%- mapping = block_device_mapping_of(instance, block_device.volume_id) -%>
<%- if root_block_device?(mapping, instance) -%>
root_block_device {