Commit fdc476da authored by Sebastian Korfmann's avatar Sebastian Korfmann Committed by GitHub

fix: Return correct route table when enable_public_redshift is set (#337)

parent f953fbcd
...@@ -250,7 +250,7 @@ output "database_route_table_ids" { ...@@ -250,7 +250,7 @@ output "database_route_table_ids" {
output "redshift_route_table_ids" { output "redshift_route_table_ids" {
description = "List of IDs of redshift route tables" description = "List of IDs of redshift route tables"
value = length(aws_route_table.redshift.*.id) > 0 ? aws_route_table.redshift.*.id : aws_route_table.private.*.id value = length(aws_route_table.redshift.*.id) > 0 ? aws_route_table.redshift.*.id : (var.enable_public_redshift ? aws_route_table.public.*.id : aws_route_table.private.*.id)
} }
output "elasticache_route_table_ids" { output "elasticache_route_table_ids" {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment