Replies: 2 comments
-
|
Have you tried the recent terraform stacks? https://developer.hashicorp.com/terraform/language/stacks this feature I think could be helpful to implement what you describe. In case you are in tofu there is some support with https://opentofu.org/docs/language/state/workspaces/ |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Thanks for the suggestion! Though we have migrated to OpenTofu which does not have this feature. Also it seems you can only use stacks with Hashicorp's commercial Terraform offering, HCP. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all!
I would like to use an (isolated) separate state file per project. Mainly in order to have development, staging and production projects (i.e. environments) which can't mess with each other. Is this possible? Setting the
project_idin the provider does not seem to stop Terraform from only working on resources in that specific project. It still tries to delete the resources in other projects it does not know about.Beta Was this translation helpful? Give feedback.
All reactions