Skip to content

Commit

Permalink
fix typo preventing usage of deprecated "update_route_table" variable
Browse files Browse the repository at this point in the history
  • Loading branch information
michelecoco committed Jan 30, 2024
1 parent d30df52 commit 117965a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 117965a

Please sign in to comment.