Skip to content

Commit

Permalink
fix outputs
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Feb 4, 2022
1 parent edcc626 commit 680128d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions routing/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@

output "public_route_table_ids" {
description = "Public route table IDs map by availability zone"
value = { for k in local.availability_zones : k => aws_route_table.public[k].id }
value = var.create_public_route_table ? { for k in local.availability_zones : k => aws_route_table.public[k].id } : {}
}

output "private_route_table_ids" {
description = "Private route table IDs map by availability zone"
value = { for k in local.availability_zones : k => aws_route_table.private[k].id }
value = var.create_private_route_table ? { for k in local.availability_zones : k => aws_route_table.private[k].id } : {}
}

output "vpc_endpoint_s3_id" {
Expand Down

0 comments on commit 680128d

Please sign in to comment.