From 715120efcdf49ab07963e31df4c7b6a92f9bd49c Mon Sep 17 00:00:00 2001 From: Muhammad Atif Ali Date: Thu, 4 Jul 2024 01:07:01 +0300 Subject: [PATCH] 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. --- docs/index.md | 1 - provider/provider.go | 7 ------- 2 files changed, 8 deletions(-) diff --git a/docs/index.md b/docs/index.md index a4dfd70e..859964d4 100644 --- a/docs/index.md +++ b/docs/index.md @@ -62,5 +62,4 @@ resource "google_compute_instance" "dev" { ### Optional -- `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. - `url` (String) The URL to access Coder. \ No newline at end of file diff --git a/provider/provider.go b/provider/provider.go index c1991a26..af11106a 100644 --- a/provider/provider.go +++ b/provider/provider.go @@ -35,13 +35,6 @@ func New() *schema.Provider { return nil, nil }, }, - "feature_use_managed_variables": { - Type: schema.TypeBool, - Description: "Feature: use managed Terraform variables. The feature flag is not used anymore as Terraform variables are now exclusively utilized for template-wide variables.", - Default: true, - Optional: true, - Deprecated: "Terraform variables are now exclusively utilized for template-wide variables after the removal of support for legacy parameters.", - }, }, ConfigureContextFunc: func(c context.Context, resourceData *schema.ResourceData) (interface{}, diag.Diagnostics) { rawURL, ok := resourceData.Get("url").(string)