You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/data-sources/parameter.md
-2
Original file line number
Diff line number
Diff line change
@@ -26,8 +26,6 @@ Use this data source to configure editable options for workspaces.
26
26
-`display_name` (String) The displayed name of the parameter as it will appear in the interface.
27
27
-`ephemeral` (Boolean) The value of an ephemeral parameter will not be preserved between consecutive workspace builds.
28
28
-`icon` (String) A URL to an icon that will display in the dashboard. View built-in icons here: https://github.com/coder/coder/tree/main/site/static/icon. Use a built-in icon with `data.coder_workspace.me.access_url + "/icon/<path>"`.
29
-
-`legacy_variable` (String, Deprecated) Reference to the Terraform variable. Coder will use it to lookup the default value.
30
-
-`legacy_variable_name` (String, Deprecated) Name of the legacy Terraform variable. Coder will use it to lookup the variable value.
31
29
-`mutable` (Boolean) Whether this value can be changed after workspace creation. This can be destructive for values like region, so use with caution!
32
30
-`option` (Block List, Max: 64) Each "option" block defines a value for a user to select from. (see [below for nested schema](#nestedblock--option))
33
31
-`order` (Number) The order determines the position of a template parameter in the UI/CLI presentation. The lowest order is shown first and parameters with equal order are sorted by name (ascending order).
-`feature_use_managed_variables` (Boolean) Feature: use managed Terraform variables. If disabled, Terraform variables will be included in legacy Parameter Schema.
65
+
-`feature_use_managed_variables` (Boolean, Deprecated) Feature: use managed Terraform variables. The feature flag is not used anymore as Terraform variables are now exclusively utilized for template-wide variables.
Description: "The value of an ephemeral parameter will not be preserved between consecutive workspace builds.",
354
336
},
355
-
"legacy_variable_name": {
356
-
Type: schema.TypeString,
357
-
Optional: true,
358
-
RequiredWith: []string{"legacy_variable"},
359
-
Description: "Name of the legacy Terraform variable. Coder will use it to lookup the variable value.",
360
-
Deprecated: "Effective from Coder v0.24.0, the parameter migration feature is no longer available. This attribute will be removed in the nearest future.",
361
-
},
362
-
"legacy_variable": {
363
-
Type: schema.TypeString,
364
-
Optional: true,
365
-
RequiredWith: []string{"legacy_variable_name"},
366
-
Description: "Reference to the Terraform variable. Coder will use it to lookup the default value.",
367
-
Deprecated: "Effective from Coder v0.24.0, the parameter migration feature is no longer available. This attribute will be removed in the nearest future.",
Copy file name to clipboardExpand all lines: provider/provider.go
+3-1
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,10 @@ func New() *schema.Provider {
37
37
},
38
38
"feature_use_managed_variables": {
39
39
Type: schema.TypeBool,
40
-
Description: "Feature: use managed Terraform variables. If disabled, Terraform variables will be included in legacy Parameter Schema.",
40
+
Description: "Feature: use managed Terraform variables. The feature flag is not used anymore as Terraform variables are now exclusively utilized for template-wide variables.",
41
+
Default: true,
41
42
Optional: true,
43
+
Deprecated: "Terraform variables are now exclusively utilized for template-wide variables after the removal of support for legacy parameters.",
0 commit comments