From 942977dd2c680011109b62dc32ff97157a7d8fa5 Mon Sep 17 00:00:00 2001 From: Neil Ye Date: Mon, 30 Sep 2024 15:35:23 +0800 Subject: [PATCH] azurerm_dashboard_grafana - remove four point oh feature flag (#27329) --- .../dashboard/dashboard_grafana_resource.go | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/internal/services/dashboard/dashboard_grafana_resource.go b/internal/services/dashboard/dashboard_grafana_resource.go index cb037c07aa3f..7a99dbb6776e 100644 --- a/internal/services/dashboard/dashboard_grafana_resource.go +++ b/internal/services/dashboard/dashboard_grafana_resource.go @@ -16,7 +16,6 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-sdk/resource-manager/dashboard/2023-09-01/grafanaresource" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" - "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" @@ -217,18 +216,6 @@ func (r DashboardGrafanaResource) Arguments() map[string]*pluginsdk.Schema { }, } - if !features.FourPointOhBeta() { - arguments["grafana_major_version"] = &pluginsdk.Schema{ - Type: pluginsdk.TypeString, - Optional: true, - ForceNew: true, - Default: "9", - ValidateFunc: validation.StringInSlice([]string{ - "9", "10", - }, false), - } - } - return arguments }