Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 715120e

Browse files
committedJul 3, 2024·
chore!: remove deprecated feature_use_managed_variables
The `feature_use_managed_variables` option has been removed as Terraform variables are now exclusively utilized for template-wide variables. This commit removes the deprecated option from the provider code.
1 parent d2e2d96 commit 715120e

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed
 

‎docs/index.md

-1
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,4 @@ resource "google_compute_instance" "dev" {
6262

6363
### Optional
6464

65-
- `feature_use_managed_variables` (Boolean, **Deprecated**: Terraform variables are now exclusively utilized for template-wide variables after the removal of support for legacy parameters.) Feature: use managed Terraform variables. The feature flag is not used anymore as Terraform variables are now exclusively utilized for template-wide variables.
6665
- `url` (String) The URL to access Coder.

‎provider/provider.go

-7
Original file line numberDiff line numberDiff line change
@@ -35,13 +35,6 @@ func New() *schema.Provider {
3535
return nil, nil
3636
},
3737
},
38-
"feature_use_managed_variables": {
39-
Type: schema.TypeBool,
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,
42-
Optional: true,
43-
Deprecated: "Terraform variables are now exclusively utilized for template-wide variables after the removal of support for legacy parameters.",
44-
},
4538
},
4639
ConfigureContextFunc: func(c context.Context, resourceData *schema.ResourceData) (interface{}, diag.Diagnostics) {
4740
rawURL, ok := resourceData.Get("url").(string)

0 commit comments

Comments
 (0)
Please sign in to comment.