mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-03-19 10:00:42 -04:00
The workspace name can be overridden by setting a TF_WORKSPACE environment variable. If this is done, we should still validate the resulting workspace name; otherwise, we could end up with an invalid and unselectable workspace. This change updates the Meta.Workspace function to return an error, and handles that error wherever necessary.
2.0 KiB
2.0 KiB