lib/terraforming/template/tf/network_acl.erb in terraforming-0.0.5 vs lib/terraforming/template/tf/network_acl.erb in terraforming-0.1.0
- old
+ new
@@ -1,7 +1,8 @@
<% network_acls.each do |network_acl| -%>
resource "aws_network_acl" "<%= module_name_of(network_acl) %>" {
- vpc_id = "<%= network_acl.vpc_id %>"
+ 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) %>