lib/terraforming/template/tf/security_group.erb in terraforming-0.17.0 vs lib/terraforming/template/tf/security_group.erb in terraforming-0.18.0

- old
+ new

@@ -14,10 +14,13 @@ prefix_list_ids = <%= permission.prefix_list_ids.map { |range| range.prefix_list_id }.inspect %> <%- end -%> <%- if permission.ip_ranges.length > 0 -%> cidr_blocks = <%= permission.ip_ranges.map { |range| range.cidr_ip }.inspect %> <%- end -%> +<%- if permission.ipv_6_ranges.length > 0 -%> + ipv6_cidr_blocks = <%= permission.ipv_6_ranges.map { |range| range.cidr_ipv_6 }.inspect %> +<%- end -%> <%- if permission.user_id_group_pairs.length > 0 -%> <%- self_referenced = self_referenced_permission?(security_group, permission) -%> security_groups = <%= security_groups.inspect %> self = <%= self_referenced %> <%- end -%> @@ -33,9 +36,12 @@ <%- if permission.prefix_list_ids.length > 0 -%> prefix_list_ids = <%= permission.prefix_list_ids.map { |range| range.prefix_list_id }.inspect %> <%- end -%> <%- if permission.ip_ranges.length > 0 -%> cidr_blocks = <%= permission.ip_ranges.map { |range| range.cidr_ip }.inspect %> +<%- end -%> +<%- if permission.ipv_6_ranges.length > 0 -%> + ipv6_cidr_blocks = <%= permission.ipv_6_ranges.map { |range| range.cidr_ipv_6 }.inspect %> <%- end -%> <%- if permission.user_id_group_pairs.length > 0 -%> <%- self_referenced = self_referenced_permission?(security_group, permission) -%> security_groups = <%= security_groups_in(permission, security_group).reject { |group_id| group_id == security_group.group_id }.inspect %> self = <%= self_referenced %>