From 4aec623efa79a12a8034a0b1578ae160cc0c9a43 Mon Sep 17 00:00:00 2001 From: Vladimir Lazarenko Date: Thu, 23 Nov 2023 15:25:08 +0100 Subject: [PATCH] `azurerm_eventhub_cluster`: Remove `ForceNew` from `sku_name` EventHub Clusters support scaling by API these days. --- internal/services/eventhub/eventhub_cluster_resource.go | 1 - website/docs/r/eventhub_cluster.html.markdown | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/services/eventhub/eventhub_cluster_resource.go b/internal/services/eventhub/eventhub_cluster_resource.go index 47f712cf2acc..98b81fd48ec0 100644 --- a/internal/services/eventhub/eventhub_cluster_resource.go +++ b/internal/services/eventhub/eventhub_cluster_resource.go @@ -63,7 +63,6 @@ func resourceEventHubCluster() *pluginsdk.Resource { "sku_name": { Type: pluginsdk.TypeString, Required: true, - ForceNew: true, ValidateFunc: validation.StringMatch( regexp.MustCompile(`^Dedicated_[1-9][0-9]*$`), "SKU name must match /^Dedicated_[1-9][0-9]*$/.", diff --git a/website/docs/r/eventhub_cluster.html.markdown b/website/docs/r/eventhub_cluster.html.markdown index 57f1c9304736..498305bf3ac9 100644 --- a/website/docs/r/eventhub_cluster.html.markdown +++ b/website/docs/r/eventhub_cluster.html.markdown @@ -37,7 +37,7 @@ The following arguments are supported: * `location` - (Required) Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. -* `sku_name` - (Required) The SKU name of the EventHub Cluster. The only supported value at this time is `Dedicated_1`. Changing this forces a new resource to be created. +* `sku_name` - (Required) The SKU name of the EventHub Cluster. The only supported value at this time is `Dedicated_1`. * `tags` - (Optional) A mapping of tags to assign to the resource.