mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
When initializing a backend, if the currently selected workspace does not exist, the user is prompted to select from the list of workspaces the backend provides. Instead, we should automatically select the only workspace available _if_ that's all that's there. Although with being a nice bit of polish, this enables future improvments with Terraform Cloud in potentially removing the implicit depenency on always using the 'default' workspace when the current configuration is mapped to a single TFC workspace.
14 lines
222 B
JSON
14 lines
222 B
JSON
{
|
|
"version": 4,
|
|
"terraform_version": "1.1.0",
|
|
"serial": 1,
|
|
"lineage": "cc4bb587-aa35-87ad-b3b7-7abdb574f2a1",
|
|
"outputs": {
|
|
"foo": {
|
|
"value": "bar",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"resources": []
|
|
}
|