mirror of
https://github.com/opentofu/opentofu.git
synced 2025-01-28 17:34:24 -06:00
60bc7aa05d
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.
24 lines
448 B
JSON
24 lines
448 B
JSON
{
|
|
"version": 3,
|
|
"serial": 2,
|
|
"lineage": "2f3864a6-1d3e-1999-0f84-36cdb61179d3",
|
|
"backend": {
|
|
"type": "local",
|
|
"config": {
|
|
"path": null,
|
|
"workspace_dir": null
|
|
},
|
|
"hash": 666019178
|
|
},
|
|
"modules": [
|
|
{
|
|
"path": [
|
|
"root"
|
|
],
|
|
"outputs": {},
|
|
"resources": {},
|
|
"depends_on": []
|
|
}
|
|
]
|
|
}
|