File tree Expand file tree Collapse file tree 3 files changed +25
-3
lines changed
Expand file tree Collapse file tree 3 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -89,3 +89,27 @@ module "vpc_issue_108" {
8989 Name = " route-already-exists"
9090 }, local. tags )
9191}
92+
93+ # ###############################################################################
94+ # Issue 1182 - https://github.com/terraform-aws-modules/terraform-aws-vpc/issues/1182
95+ # ###############################################################################
96+
97+ module "vpc_issue_1182" {
98+ source = " ../../"
99+
100+ name = " route-table"
101+ cidr = " 10.0.0.0/16"
102+
103+ azs = local. azs
104+ private_subnets = [" 10.0.0.0/24" , " 10.0.1.0/24" ]
105+ public_subnets = [" 10.0.101.0/24" , " 10.0.102.0/24" ]
106+
107+ enable_nat_gateway = true
108+ single_nat_gateway = false
109+ enable_vpn_gateway = true
110+
111+ tags = merge ({
112+ Issue = " 1182"
113+ Name = " route-table"
114+ }, local. tags )
115+ }
Original file line number Diff line number Diff line change @@ -114,5 +114,5 @@ output "issue_108_nat_public_ips" {
114114# ###############################################################################
115115output "private_route_table_association_objects" {
116116 description = " The list of private route table associations from the VPC module"
117- value = module. vpc . private_route_table_association_objects
117+ value = module. vpc_issue_1182 . private_route_table_association_objects
118118}
Original file line number Diff line number Diff line change @@ -671,5 +671,3 @@ output "name" {
671671 description = " The name of the VPC specified as argument to this module"
672672 value = var. name
673673}
674-
675-
You can’t perform that action at this time.
0 commit comments