feat: nat-gateways
This commit is contained in:
1 parent
b7b1653cc6
commit
e19d7fc053
11 files changed
+88
-53
No files matched your search
@@ -24,11 +24,12 @@ module "vpc" {
|
||||
cidr_block = local.cidr_block
|
||||
subnet_groups = {
|
||||
public = {
|
||||
public = true
|
||||
cidr_block = cidrsubnet(local.cidr_block, 1, 0)
|
||||
default_route = "internet_gateway"
|
||||
cidr_block = cidrsubnet(local.cidr_block, 1, 0)
|
||||
}
|
||||
private = {
|
||||
cidr_block = cidrsubnet(local.cidr_block, 1, 1)
|
||||
default_route = "nat_gateway.public"
|
||||
cidr_block = cidrsubnet(local.cidr_block, 1, 1)
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user