Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Allow terraform to have null workspace #57402
The new remote backend (https://www.terraform.io/docs/backends/types/remote.html) does not support workspace commands, as it handles workspaces through configuration. Workspace commands fail with an error message
This allows for a null workspace flag to be passed which bypasses the workspaces checks. This would allow for remote backends to be supported without changing default workspace behaviour.
Example of workspace configuration for remote workspaces (truncated)