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.
1 parent f8894eb commit 92a7b74Copy full SHA for 92a7b74
main.tf
@@ -359,7 +359,7 @@ resource "aws_route_table" "intra" {
359
################################################################################
360
361
resource "aws_route_table" "sys" {
362
- count = local.create_vpc && local.max_subnet_length > 0 ? local.nat_gateway_count : 0
+ count = local.create_vpc && length(var.sys_subnets) > 0 ? 1 : 0
363
364
vpc_id = local.vpc_id
365
0 commit comments