Open aweingarten opened 3 months ago
Explain pro's and cons of TF workspaces vs fixed envs:
terraform-project/ │ ├── environments/ │ ├── production/ │ │ ├── main.tf │ │ ├── variables.tf │ │ ├── outputs.tf │ │ └── providers.tf │ │ │ └── staging/ │ ├── main.tf │ ├── variables.tf │ ├── outputs.tf │ └── providers.tf │ ├── modules/ │ ├── network/ │ │ ├── main.tf │ │ ├── variables.tf │ │ └── outputs.tf │ │ │ └── compute/ │ ├── main.tf │ ├── variables.tf │ └── outputs.tf │ └── providers.tf # For global provider configuration, if applicable
Explain pro's and cons of TF workspaces vs fixed envs:
terraform-project/ │ ├── environments/ │ ├── production/ │ │ ├── main.tf │ │ ├── variables.tf │ │ ├── outputs.tf │ │ └── providers.tf │ │ │ └── staging/ │ ├── main.tf │ ├── variables.tf │ ├── outputs.tf │ └── providers.tf │ ├── modules/ │ ├── network/ │ │ ├── main.tf │ │ ├── variables.tf │ │ └── outputs.tf │ │ │ └── compute/ │ ├── main.tf │ ├── variables.tf │ └── outputs.tf │ └── providers.tf # For global provider configuration, if applicable