Skip to content

Commit

Permalink
Update delete-after.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKotowick committed Sep 10, 2024
1 parent 7a3b5a8 commit b31c38e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tests/delete-after.tf
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,15 @@ module "delete_after" {
delete_after = [
// This forces the delete to wait until the first check has occured
//module.check_delete_after_exists.checked,
file(module.delete_after.created ? module.delete_after.filename : "")
locals.file_before
]
}

locals {
file_before = file(module.delete_after.created ? module.delete_after.filename : "")
file_after = file(module.delete_after.complete ? module.delete_after.filename : "")
}

# module "check_delete_after_exists" {
# source = "../assertion"
# //version = "~>0.2.5"
Expand Down

0 comments on commit b31c38e

Please sign in to comment.