Skip to content

Commit d84bd1b

Browse files
Clarify enable_nat_gateway vs single_nat_gateway
1 parent 0eefe64 commit d84bd1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

variables.tf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1205,7 +1205,7 @@ variable "igw_tags" {
12051205
################################################################################
12061206

12071207
variable "enable_nat_gateway" {
1208-
description = "Should be true if you want to provision NAT Gateways for each of your private networks"
1208+
description = "Should be true if you want to provision NAT Gateways for your private networks. Unless `single_nat_gateway` or `one_nat_gateway_per_az` is set, it will create one NAT Gateway per private subnet"
12091209
type = bool
12101210
default = false
12111211
}
@@ -1217,7 +1217,7 @@ variable "nat_gateway_destination_cidr_block" {
12171217
}
12181218

12191219
variable "single_nat_gateway" {
1220-
description = "Should be true if you want to provision a single shared NAT Gateway across all of your private networks"
1220+
description = "Should be true if you want to provision a single shared NAT Gateway across all of your private networks. Setting this to true overrides `enable_nat_gateway`"
12211221
type = bool
12221222
default = false
12231223
}

0 commit comments

Comments
 (0)