Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleKotowick committed Sep 10, 2024
1 parent 4e871e4 commit d0c4c36
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
20 changes: 10 additions & 10 deletions tests/delete-after.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ module "check_delete_after_exists" {
error_message = "delete-after (exists): expected file to exist, but it does not"
}

module "check_delete_after_deleted" {
source = "../assertion"
//version = "~>0.2.5"
depends_on = [
// This forces a wait until the deletion has been completed as well
module.delete_after
]
condition = !fileexists(module.delete_after.datasource == {} ? module.delete_after.filename : "")
error_message = "delete-after (deleted): expected file to be deleted, but it exists"
}
# module "check_delete_after_deleted" {
# source = "../assertion"
# //version = "~>0.2.5"
# depends_on = [
# // This forces a wait until the deletion has been completed as well
# module.delete_after
# ]
# condition = !fileexists(module.delete_after.datasource == {} ? module.delete_after.filename : "")
# error_message = "delete-after (deleted): expected file to be deleted, but it exists"
# }
2 changes: 1 addition & 1 deletion tests/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ output "done" {
module.check_multi_chunk_base64_external.checked,
module.check_multi_chunk_base64_external_no_change.checked,
module.check_delete_after_exists.checked,
module.check_delete_after_deleted.checked,
# module.check_delete_after_deleted.checked,
]) == 0 ? true : true
}

0 comments on commit d0c4c36

Please sign in to comment.