From 866533b6fac930a14533603a9a0934b7cfb38a65 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Fri, 11 Jul 2025 09:44:49 +0200 Subject: [PATCH] test(module): fix test module invocation --- main.tftest.hcl | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/main.tftest.hcl b/main.tftest.hcl index 68f4c3b..88f63e1 100644 --- a/main.tftest.hcl +++ b/main.tftest.hcl @@ -5,11 +5,10 @@ provider "aws" { run "main" { assert { - condition = output.arn != null + condition = module.main.arn != null error_message = "invalid IAM role ARN" } -} - -variables { - name = "tftest-role" + module { + source = "./test" + } }