Open wyardley opened 1 month ago
Thanks for this feature request! If you are viewing this issue and would like to indicate your interest, please use the 👍 reaction on the issue description to upvote this issue. We also welcome additional use case descriptions. Thanks again!
Terraform Version
Use Cases
Similar to https://github.com/hashicorp/terraform-provider-assert/issues/48 I'd like to use a module specific to tests (that one), but not have it as a dependency of the module I'm testing.
As of now, this requires some pretty ugly hacks like mocking and initializing an extra "module", since
terraform { required_providers }}
can't be set in the test configs.Attempted Solutions
in
tests/main.tftest.hcl
:Proposal
No response
References