Skip to content

Commit abb5af7

Browse files
authored
add list with an empty string, necessary for terraform 0.12 destroy (#52)
1 parent a367b5b commit abb5af7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

output.tf

+4-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ output "dynamodb_table_id" {
2929
value = element(
3030
coalescelist(
3131
aws_dynamodb_table.with_server_side_encryption.*.id,
32-
aws_dynamodb_table.without_server_side_encryption.*.id
32+
aws_dynamodb_table.without_server_side_encryption.*.id,
33+
[""]
3334
),
3435
0
3536
)
@@ -40,7 +41,8 @@ output "dynamodb_table_arn" {
4041
value = element(
4142
coalescelist(
4243
aws_dynamodb_table.with_server_side_encryption.*.arn,
43-
aws_dynamodb_table.without_server_side_encryption.*.arn
44+
aws_dynamodb_table.without_server_side_encryption.*.arn,
45+
[""]
4446
),
4547
0
4648
)

0 commit comments

Comments
 (0)