test(module): fix test module invocation
This commit is contained in:
parent
ed731be070
commit
626f3a3294
1 changed files with 4 additions and 5 deletions
|
@ -5,11 +5,10 @@ provider "aws" {
|
||||||
|
|
||||||
run "main" {
|
run "main" {
|
||||||
assert {
|
assert {
|
||||||
condition = output.arn != null
|
condition = module.main.arn != null
|
||||||
error_message = "invalid IAM role ARN"
|
error_message = "invalid IAM role ARN"
|
||||||
}
|
}
|
||||||
|
module {
|
||||||
|
source = "./test"
|
||||||
}
|
}
|
||||||
|
|
||||||
variables {
|
|
||||||
name = "tftest-role"
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue