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" {