test(module): fix test module invocation
This commit is contained in:
parent
d4f08aa3ba
commit
866533b6fa
1 changed files with 4 additions and 5 deletions
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue