test(module): fix test module invocation

This commit is contained in:
Julien Dessaux 2025-07-11 09:44:49 +02:00
parent d4f08aa3ba
commit 866533b6fa
Signed by: adyxax
GPG key ID: F92E51B86E07177E

View file

@ -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"
}
}