Skip to content

Commit

Permalink
azurerm_dashboard_grafana - remove four point oh feature flag (#27329)
Browse files Browse the repository at this point in the history
  • Loading branch information
neil-yechenwei authored Sep 30, 2024
1 parent 66faff5 commit 942977d
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions internal/services/dashboard/dashboard_grafana_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 942977d

Please sign in to comment.