reusable terratest code within terraform modules #855
Unanswered
tbugfinder
asked this question in
How do I
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm wondering how best to create re-usable terratest code for terraform modules.
I'm thinking about to add terratest test cases to terraform modules like, e.g.
https://github.com/terraform-aws-modules/terraform-aws-ec2-instance
Those tests should be sufficiently generic to cover varying variables and conditions.
Now I'm using that terraform module in my "terraform stack".
Which options are available to just call the test-cases of the module itself without copying those to the "stack" itself?
Thank You!
Beta Was this translation helpful? Give feedback.
All reactions