Skip to content

Commit

Permalink
Return back public_subnets that is required when create_igw=true
Browse files Browse the repository at this point in the history
  • Loading branch information
alexott committed Dec 26, 2021
1 parent 9b088c9 commit edba88d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/guides/aws-workspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ module "vpc" {
single_nat_gateway = true
create_igw = true
public_subnets = [cidrsubnet(var.cidr_block, 3, 0)]
private_subnets = [cidrsubnet(var.cidr_block, 3, 1),
cidrsubnet(var.cidr_block, 3, 2)]
Expand Down
1 change: 1 addition & 0 deletions docs/resources/mws_networks.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ module "vpc" {
enable_nat_gateway = true
create_igw = true
public_subnets = [cidrsubnet(var.cidr_block, 3, 0)]
private_subnets = [cidrsubnet(var.cidr_block, 3, 1),
cidrsubnet(var.cidr_block, 3, 2)]
Expand Down

0 comments on commit edba88d

Please sign in to comment.