cloud.terraform
cloud.terraform copied to clipboard
Add (tofu compatible) '-exclude' parameter
SUMMARY
Add the '-exclude' parameter (which currently is OpenTofu specific) that will allow excluding specific resources during the build process.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
exclude
ADDITIONAL INFORMATION
Use case: I have a three environment structure - DEV, QA and PROD. For testing purposes I might only want to deploy the DEV environment. When it comes time to create a new deployment, I want all three environments created.
Adding the '-exclude' parameter would allow building a subset of the resources normally wanted. This is somewhat the inverse of the 'targets' parameter