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

Skip to content

feat: import value from legacy variable to build parameter #6556

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

Merged
merged 20 commits into from
Mar 14, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update docs/templates/parameters.md
Co-authored-by: Mathias Fredriksson <[email protected]>
  • Loading branch information
mtojek and mafredri authored Mar 14, 2023
commit 60e98a32d0c45a50469b5c943422543d74be166a
2 changes: 1 addition & 1 deletion docs/templates/parameters.md
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ data "coder_parameter" "cpu" {
- Use `legacy_variable_name` and `legacy_variable` to link both.
- Mark the new parameter as `mutable`, so that Coder will not block updating existing workspaces.

2. Update all workspaces to the uploaded template version. Coder will populate `coder_parameter`s with values from legacy parameters.
2. Update all workspaces to the updated template version. Coder will populate the added `coder_parameter`s with values from legacy variables.
3. Prepare another template version:

- Remove migrated variable.
Expand Down