We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2000bb1 + a13c4a1 commit 77acd09Copy full SHA for 77acd09
variables.tf
@@ -194,7 +194,7 @@ EOF
194
195
validation {
196
error_message = "Private subnet cannot set `route_to_transit_gateway` = \"0.0.0.0/.\" if `route_to_nat` = true."
197
- condition = try(var.subnets.private.route_to_nat, false) ? try(var.subnets.private.route_to_transit_gateway[0] != "0.0.0.0/0", true) : null
+ condition = try(var.subnets.private.route_to_nat, false) ? try(var.subnets.private.route_to_transit_gateway[0] != "0.0.0.0/0", true) : true
198
}
199
200
# TODO: remove once `route_to_transit_gateway` can accept more than 1 argument
0 commit comments