Commit 011bf687 authored by Daisuke Fujita's avatar Daisuke Fujita

Generate Network ACL tf including subnet ids

parent ee7ce905
......@@ -25,6 +25,7 @@ module Terraforming
"egress.#" => egresses_of(network_acl).length.to_s,
"id" => network_acl.network_acl_id,
"ingress.#" => ingresses_of(network_acl).length.to_s,
"subnet_ids.#" => subnet_ids_of(network_acl).length.to_s,
"tags.#" => network_acl.tags.length.to_s,
"vpc_id" => network_acl.vpc_id,
}
......
......@@ -161,6 +161,7 @@ resource "aws_network_acl" "fuga" {
"egress.#" => "0",
"id" => "acl-1234abcd",
"ingress.#" => "1",
"subnet_ids.#" => "2",
"tags.#" => "1",
"vpc_id" => "vpc-1234abcd",
}
......@@ -174,6 +175,7 @@ resource "aws_network_acl" "fuga" {
"egress.#" => "0",
"id" => "acl-5678efgh",
"ingress.#" => "1",
"subnet_ids.#" => "2",
"tags.#" => "1",
"vpc_id" => "vpc-5678efgh",
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment