Skip to content

Commit

Permalink
azurerm_eventhub_cluster: Remove ForceNew from sku_name
Browse files Browse the repository at this point in the history
EventHub Clusters support scaling by API these days.
  • Loading branch information
favoretti committed Nov 23, 2023
1 parent c979ceb commit 4aec623
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion internal/services/eventhub/eventhub_cluster_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -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]*$/.",
Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/eventhub_cluster.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down

0 comments on commit 4aec623

Please sign in to comment.