Error handling for workspaces list and workspace-map map present at the same time in cfg file
Josh-Tracy opened this issue · 1 comments
Josh-Tracy commented
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
- Add "workspaces" list to the .tfm.hcl config file
- Add "workspac-map" to the .tfm.hcl config file
- Run tfm copy workspaces
Expected behavior
1 or the other should be used based on order of precedence or tell the user to not have both present at once
Josh-Tracy commented
Providing both the workspaces list and workspace-map in the same config file will result in an output message informing the user that this is not allowed.