Open git-ival opened 1 week ago
At the moment all files should be created inside of the main/$backend
directory, which kind of acts as a "workspace"
I am totally open to making that parametric so that it can point elsewhere
🤔 AFAIK files are created in the "main" module's ${path.root}/config/
directory. Which would mean changing workspaces with tofu workspace select <my other workspace>
and re-deploying/applying will overwrite the files in that dir.
OK, so I misunderstood what "workspace" meant
reading https://opentofu.org/docs/cli/workspaces/ clarified the concept for me
I am totally OK with this change 👍
Various dartboard modules generate files (aka stateful artifacts) that are stored on the dartboard-runner machine. If using tofu/terraform workspaces, these files will be overwritten on a
dartboard deploy
ordartboard apply
.Suggestion: Ensure all modules that generate files place them in a directory prefixed with the terraform workspace name. ex:
${terraform.workspace}_config
${terraform.workspace}_config