Sha256: d8d09e235088f93bc6b66b7dff23dc487b4152b8fe0cd9f43f87dcd0052a5901
Contents?: true
Size: 1.05 KB
Versions: 26
Compression:
Stored size: 1.05 KB
Contents
<% network_acls.each do |network_acl| -%> resource "aws_network_acl" "<%= module_name_of(network_acl) %>" { vpc_id = "<%= network_acl.vpc_id %>" subnet_ids = <%= subnet_ids_of(network_acl).inspect %> <% ingresses_of(network_acl).each do |ingress| -%> ingress { from_port = <%= from_port_of(ingress) %> to_port = <%= to_port_of(ingress) %> rule_no = <%= ingress.rule_number %> action = "<%= ingress.rule_action %>" protocol = "<%= ingress.protocol %>" cidr_block = "<%= ingress.cidr_block %>" } <% end -%> <% egresses_of(network_acl).each do |egress| -%> egress { from_port = <%= from_port_of(egress) %> to_port = <%= to_port_of(egress) %> rule_no = <%= egress.rule_number %> action = "<%= egress.rule_action %>" protocol = "<%= egress.protocol %>" cidr_block = "<%= egress.cidr_block %>" } <% end -%> tags { <% network_acl.tags.each do |tag| -%> "<%= tag.key %>" = "<%= tag.value %>" <% end -%> } } <% end -%>
Version data entries
26 entries across 26 versions & 1 rubygems