File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -196,20 +196,17 @@ output "private_route_table_ids" {
196
196
197
197
output "database_route_table_ids" {
198
198
description = " List of IDs of database route tables"
199
- value = coalescelist (aws_route_table. database . * . id , aws_route_table. private . * . id )
199
+ value = length (aws_route_table. database . * . id ) > 0 ? aws_route_table. database . * . id : aws_route_table . private . * . id
200
200
}
201
201
202
202
output "redshift_route_table_ids" {
203
203
description = " List of IDs of redshift route tables"
204
- value = coalescelist (aws_route_table. redshift . * . id , aws_route_table. private . * . id )
204
+ value = length (aws_route_table. redshift . * . id ) > 0 ? aws_route_table. redshift . * . id : aws_route_table . private . * . id
205
205
}
206
206
207
207
output "elasticache_route_table_ids" {
208
208
description = " List of IDs of elasticache route tables"
209
- value = [coalescelist (
210
- aws_route_table. elasticache . * . id ,
211
- aws_route_table. private . * . id ,
212
- )]
209
+ value = length (aws_route_table. elasticache . * . id ) > 0 ? aws_route_table. elasticache . * . id : aws_route_table. private . * . id
213
210
}
214
211
215
212
output "intra_route_table_ids" {
You can’t perform that action at this time.
0 commit comments