The source project of this merge request has been removed.
feat: add support for workspaces
-
Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA
This MR adds an input which sets the TF_WORKSPACE
environment variable https://opentofu.org/docs/cli/config/environment-variables/#tf_workspace. The default is set to "default" because if you don't specifically create a workspace, the workspace will just be called "default".
From https://opentofu.org/docs/language/state/workspaces/#using-workspaces:
OpenTofu starts with a single, default workspace named default that you cannot delete. If you have not created a new workspace, you are using the default workspace in your OpenTofu working directory.
Edited by 🤖 GitLab Bot 🤖