Tfvars Location Thoughts - Terraspace
Hi @tung,
I might be wrong but I got confused with your last reason on the tfvars location changed since TS 2.2.15
- The idea is that stacks can optionally ship with default tfvars files in
app/stacks/demo/tfvars
, and users can coverride them withapp/stacks/demo/tfvars
without touching the stack code.
I guess you mean
- The idea is that stacks can optionally ship with default tfvars files in
app/stacks/demo/tfvars
, and users can override them with config/stacks/demo/tfvars
without touching the stack code.
…based on your explanation on the next paragraph that config/stacks/*
override app/stacks/*
btw… can you also give an example of terraspace seed stack_name with the --where option please?
I tried but I didn’t see any difference when I tried
$> terraspace seed --where=stack demo_name
=> it creates in the config/stacks/
folder, I expected it will create the tfvars in app/stacks/
I also tried with --where=seed
but it also create the tfvars in config/stacks/
folder
Thanks