- Notifications
You must be signed in to change notification settings - Fork928
Closed
Description
Extracted from user conversation
I find myself wanting to launch new workspaces where the configuration (i.e. input params) is nearly identical to a workspace that already exists.
One scenario: workspace in us-east-1, but there are aws issues, so now I want to relaunch a similar workspace in us-west-2 with all the same inputs (i.e. repo configuration, instance size, etc.).
I have to manually copy all the workspace settings to a new workspace, which is a tad tedious.
Possible solutions
In the UI we could have:
- A button called “Duplicate” or “Clone” on the workspace page
- When clicking on the button, it will display a dialog with a form to override, if the user wants, the workspace settings
- Confirming, will create a new workspace with the new/overridden settings
In the CLI:
We could do something similar,coder duplicate [some-user.]some-workspace
and it would operate likecoder create -t template
but with all the defaults populated from the source workspace