From 117965a04970cac24546d69c0f81f7ae8ea7c7e8 Mon Sep 17 00:00:00 2001 From: SpaicyGaming Date: Tue, 30 Jan 2024 16:57:04 +0100 Subject: [PATCH] fix typo preventing usage of deprecated "update_route_table" variable --- main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.tf b/main.tf index 482cb21..28f15ae 100644 --- a/main.tf +++ b/main.tf @@ -52,7 +52,7 @@ resource "aws_network_interface" "main" { } resource "aws_route" "main" { - for_each = var.update_route_tables || var.update_route_tables ? merge(var.route_tables_ids, var.route_table_id != null ? { RESERVED_FKC_NAT = var.route_table_id } : {}) : {} + for_each = var.update_route_tables || var.update_route_table ? merge(var.route_tables_ids, var.route_table_id != null ? { RESERVED_FKC_NAT = var.route_table_id } : {}) : {} route_table_id = each.value destination_cidr_block = "0.0.0.0/0"