-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Open
Copy link
Description
Description
The Coder main product includes a template setting called "Enable dynamic parameters for workspace creation" (introduced in v2.24.0), but this setting is not available in the coderd_template
resource in the Terraform provider.
Current State
In Coder UI/API:
- Template settings include a checkbox for "Enable dynamic parameters for workspace creation"
- This is controlled by the
use_classic_parameter_flow
field (inverted boolean) - Feature is documented at: https://coder.com/docs/admin/templates/extending-templates/dynamic-parameters
In Terraform Provider:
- The
coderd_template
resource does not include any field for controlling dynamic parameters - No
use_classic_parameter_flow
or equivalent field exists
Expected Behavior
The coderd_template
resource should include a field to control the dynamic parameters setting, such as:
resource "coderd_template" "example" {
# ... other fields
enable_dynamic_parameters = true # or use_classic_parameter_flow = false
}
Impact
Users managing Coder templates via Terraform cannot:
- Enable dynamic parameters for new templates
- Manage this setting consistently across environments
- Maintain infrastructure-as-code parity with the UI
References
- Dynamic Parameters documentation: https://coder.com/docs/admin/templates/extending-templates/dynamic-parameters
- Template settings form:
/site/src/pages/TemplateSettingsPage/TemplateGeneralSettingsPage/TemplateSettingsForm.tsx
- Field name in Coder:
use_classic_parameter_flow
(boolean, inverted)
TomBeckett, jamestoyer and asvoboda
Metadata
Metadata
Assignees
Labels
No labels