-
Notifications
You must be signed in to change notification settings - Fork 10.1k
Open
Labels
Description
Terraform Version
Terraform v1.14.1
on linux_amd64Use Cases
We extensively use terraform tests across our resources to ensure changes don't result in unexpected breakage in behaviour that are neither validated by Terraform or providers. Because of this, we have an extensive library of mock data sources that are compatible with our input validation.
These values, such as valid json for aws_iam_policy_document or valid ARNs are extremely reusable, however currently sources require being a local path. We also have the alternative of using a git submodule, but a native behaviour in Terraform would be preferred`
Attempted Solutions
N/A
Proposal
Allow mock_provider to take remote sources similar to what module allows - e.g. git repositories or zip files, with support for fetching specific tags or commits.
References
No response