From c99164446e3087f4b031c45d5c51397faba256dd Mon Sep 17 00:00:00 2001 From: mainbrain Date: Wed, 19 Feb 2020 03:29:24 +0100 Subject: [PATCH] fix terraform destroy (#32) Co-authored-by: Maxim Mironenko --- output.tf | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/output.tf b/output.tf index cf9ff33..fbb523a 100644 --- a/output.tf +++ b/output.tf @@ -17,7 +17,8 @@ output "dynamodb_table_name" { value = element( coalescelist( aws_dynamodb_table.with_server_side_encryption.*.name, - aws_dynamodb_table.without_server_side_encryption.*.name + aws_dynamodb_table.without_server_side_encryption.*.name, + [""] ), 0 )