From fd14e7e95919e875dd9b1ff39f4990bebd12c232 Mon Sep 17 00:00:00 2001 From: Kyle Kotowick Date: Tue, 10 Sep 2024 14:23:36 -0400 Subject: [PATCH] Update delete-after.tf --- tests/delete-after.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/delete-after.tf b/tests/delete-after.tf index 9aa5945..056d4a1 100644 --- a/tests/delete-after.tf +++ b/tests/delete-after.tf @@ -15,7 +15,7 @@ module "check_delete_after_exists" { # source = "Invicton-Labs/assertion/null" # version = "0.2.4" // The ternary forces a wait until the file has been created - condition = fileexists(module.delete_after.datasource != {} ? module.delete_after.filename : "") + condition = fileexists(module.delete_after.created ? module.delete_after.filename : "") error_message = "delete-after (exists): expected file to exist, but it does not" }