Skip to content

Commit

Permalink
Update outputs.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKotowick committed Sep 10, 2024
1 parent 03802b6 commit 2eb5822
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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" {
Expand Down

0 comments on commit 2eb5822

Please sign in to comment.