tofu-module-aws-iam-user/main.tftest.hcl
Julien Dessaux 37534f83da
All checks were successful
main / test (push) Successful in 2m49s
test(module): really test the generated access key
2025-04-26 00:35:46 +02:00

14 lines
243 B
HCL

provider "aws" {
profile = "tests"
region = "eu-west-3"
}
run "main" {
assert {
condition = data.external.main.result.Arn == local.expected_arn
error_message = "user ARN mismatch"
}
module {
source = "./test"
}
}