Commit 7c8df92f authored by Anton Babenko's avatar Anton Babenko Committed by GitHub

fix: Fixed redshift_route_table_ids outputs (#739)

parent 6f89db5c
...@@ -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 = try(coalescelist(aws_route_table.redshift[*].id, aws_route_table.public[*].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