From 235d86f540d028cc4c7c43f708962b98971acf46 Mon Sep 17 00:00:00 2001 From: itsdalmo Date: Wed, 17 Jul 2019 21:59:52 +0200 Subject: [PATCH] Fix public route table id output --- outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outputs.tf b/outputs.tf index 4eb1678..f469ae0 100644 --- a/outputs.tf +++ b/outputs.tf @@ -18,7 +18,7 @@ output "private_subnet_ids" { output "public_subnets_route_table_id" { description = "The ID of the routing table for the public subnets." - value = aws_route_table.public[*].id + value = concat(aws_route_table.public[*].id, [""])[0] } output "private_subnets_route_table_ids" {