Terraspace layering in v2 doesn't scan environment folders #267
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
When running v1, Terraspace would scan environment folders as per the documentation, for example if we have a
tfvars/development/base.tfvars
file in our stack and TS_ENV was set todevelopment
then it would include the contents during build.In v2 however even with the layering mode set to
provider
Terraspace doesn't scan the folder, it now looks for a file called development.tfvars only. This has been confirmed by enabling the debug environment variables, etcNote I have set TS_EXTRA just in case this triggered alternate behaviour
My Environment
Terrapace: 2.2.1
Ubuntu 20 running under WSL
Terraform 1.2.9
Expected Behaviour
tfvars files in environment folders included in the configuration as per documentation
Current Behavior
tfvars files in environment folders ignored.
Step-by-step reproduction instructions
See above
Solution Suggestion
Update logic to handle environment folders or update documentation :)
The text was updated successfully, but these errors were encountered: