We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f953fbc commit fdc476dCopy full SHA for fdc476d
outputs.tf
@@ -250,7 +250,7 @@ output "database_route_table_ids" {
250
251
output "redshift_route_table_ids" {
252
description = "List of IDs of redshift route tables"
253
- 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)
254
}
255
256
output "elasticache_route_table_ids" {
0 commit comments