- Notifications
You must be signed in to change notification settings - Fork1k
feat(docs): promote dynamic parameters doc to GA#19171
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Merged
+8 −10
Merged
Changes fromall commits
Commits
Show all changes
3 commits Select commitHold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
15 changes: 7 additions & 8 deletionsdocs/admin/templates/extending-templates/dynamic-parameters.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -38,11 +38,11 @@ They allow you to set resource guardrails by referencing Coder identity in the ` | ||
## How to enable Dynamic Parameters | ||
In Coder v2.25.0,Dynamic Parameters are automatically enabled for new templates. Youcan opt-in to Dynamic Parametersfor individual existing templates viatemplatesettings. | ||
1. Go to your template's settings and enable the **Enable dynamic parameters for workspace creation** option. | ||
 | ||
1. Update your template to use version >=2.4.0 of the Coder provider with the following Terraform block. | ||
@@ -784,9 +784,9 @@ data "coder_parameter" "your_groups" { | ||
## Troubleshooting | ||
Dynamic Parameters isnow ingeneral availability. We're tracking a list of known issues [here in Github](https://github.com/coder/coder/issues?q=sort%3Aupdated-desc%20is%3Aissue%20is%3Aopen%20label%3Aparameters) as we continue to polish and improve the workflow. | ||
If you have any issues during upgrade, please file an issue in our | ||
[GitHub repository](https://github.com/coder/coder/issues/new?labels=parameters)with the `parameters` labeland include a | ||
[Playground link](https://playground.coder.app/parameters) where applicable. | ||
We appreciate the feedback and look forward to what the community creates with this system! | ||
@@ -798,7 +798,7 @@ You can share anything you build with Dynamic Parameters in our [Discord](https: | ||
Ensure that the following version requirements are met: | ||
- `coder/coder`: >= [v2.25.0](https://github.com/coder/coder/releases/tag/v2.25.0) | ||
stirby marked this conversation as resolved. Show resolvedHide resolvedUh oh!There was an error while loading.Please reload this page. | ||
- `coder/terraform-provider-coder`: >= [v2.5.3](https://github.com/coder/terraform-provider-coder/releases/tag/v2.5.3) | ||
Enabling Dynamic Parameters on an existing template requires administrators to publish a new template version. | ||
@@ -818,10 +818,9 @@ To revert Dynamic Parameters on a template: | ||
### Template variables not showing up | ||
Dynamic Parameters is GA as of [v2.25.0](https://github.com/coder/coder/releases/tag/v2.25.0), and this issue has been resolved.In beta ([v2.24.0](https://github.com/coder/coder/releases/tag/v2.24.0)), template variableswere not supported in Dynamic Parameters. | ||
If you are experiencing issues with template variables, try upgrading to the latest version with dynamic parameters in GA. Otherwise, please file an issue in our Github. | ||
### Can I use registry modules with Dynamic Parameters? | ||
Loading
Sorry, something went wrong.Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletionsdocs/manifest.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Oops, something went wrong.
Uh oh!
There was an error while loading.Please reload this page.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.