Skip to content

Commit 9af3fc8

Browse files
authored
Return back public_subnets that is required when create_igw=true (#1005)
1 parent 9b088c9 commit 9af3fc8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

docs/guides/aws-workspace.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,7 @@ module "vpc" {
130130
single_nat_gateway = true
131131
create_igw = true
132132
133+
public_subnets = [cidrsubnet(var.cidr_block, 3, 0)]
133134
private_subnets = [cidrsubnet(var.cidr_block, 3, 1),
134135
cidrsubnet(var.cidr_block, 3, 2)]
135136

docs/resources/mws_networks.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ module "vpc" {
3838
enable_nat_gateway = true
3939
create_igw = true
4040
41+
public_subnets = [cidrsubnet(var.cidr_block, 3, 0)]
4142
private_subnets = [cidrsubnet(var.cidr_block, 3, 1),
4243
cidrsubnet(var.cidr_block, 3, 2)]
4344

0 commit comments

Comments
 (0)