From 2eb5822f9a1a82a10012364e786e812bb7ab13ca Mon Sep 17 00:00:00 2001 From: Kyle Kotowick Date: Tue, 10 Sep 2024 14:47:16 -0400 Subject: [PATCH] Update outputs.tf --- outputs.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/outputs.tf b/outputs.tf index 5d3d7b4..8b38bc0 100644 --- a/outputs.tf +++ b/outputs.tf @@ -78,7 +78,7 @@ output "complete" { data.external.delete_file, ] description = "Always `true`, but does not return until the file has been created and, if desired, deleted as well." - value = length(data.external.delete_file) > 0 ? (jsonencode(data.external.delete_file[0]) != "" ? jsonencode(data.external.delete_file[0]) : jsonencode(data.external.delete_file[0])) : jsonencode(data.external.create_file_chunk) != "" ? true : false # TODO: switch to local val + value = length(data.external.delete_file) > 0 ? (sha256(jsonencode(data.external.delete_file[0])) != sha256("") ? true : false) : jsonencode(data.external.create_file_chunk) != "" ? true : false # TODO: switch to local val } output "num_chunks" {