Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Edit workspace variables #5621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
NiklasRosenstein opened this issue Jan 9, 2023 · 5 comments
Closed

Edit workspace variables #5621

NiklasRosenstein opened this issue Jan 9, 2023 · 5 comments
Labels
parameters Area: parameters

Comments

@NiklasRosenstein
Copy link
Contributor

Is it possible make Workspace variables editable? This would allow users for example to increase their CPU/Memory requested without recreating the Workspace and loosing their home volume.

@BrunoQuaresma
Copy link
Collaborator

Rn, when a user creates a template, if there are any missing variables the UI and CLI ask the user to enter them. Is your question related to something different?

@matifali
Copy link
Member

matifali commented Jan 9, 2023

I think he is suggesting to increase the RAM and CPU quota for a workspace without deleting and creating a new one.

@NiklasRosenstein
Copy link
Contributor Author

Yes, that's it. I want to edit the variables of an existing workspace.

@bpmct
Copy link
Member

bpmct commented Jan 10, 2023

Hey @NiklasRosenstein - we're building rich parameters (#5574) for this reason. Before we make things editable from the UI, we want to make it so some admins can mark some as immutable as changing them after creation may result in data loss.

In the meantime, you can update them via the CLI, but be careful not to change a region or any other variable that may recreate your volume.

coder update --always-prompt <workspace-name>

@mtojek
Copy link
Member

mtojek commented Feb 28, 2023

Close in favor of #5980

@mtojek mtojek closed this as completed Feb 28, 2023
@mtojek mtojek added the parameters Area: parameters label Feb 28, 2023
@bpmct bpmct added this to the Rich Parameters GA milestone Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
parameters Area: parameters
Projects
None yet
Development

No branches or pull requests

5 participants