Skip to content

Commit

Permalink
Update eventhub_resource.go (#20480)
Browse files Browse the repository at this point in the history
  • Loading branch information
unique-dominik authored Feb 16, 2023
1 parent 6881d30 commit 8262061
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions internal/services/eventhub/eventhub_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func resourceEventHub() *pluginsdk.Resource {
"partition_count": {
Type: pluginsdk.TypeInt,
Required: true,
ForceNew: true,
ValidateFunc: validate.ValidateEventHubPartitionCount,
},

Expand Down
2 changes: 1 addition & 1 deletion website/docs/r/eventhub.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ The following arguments are supported:

* `resource_group_name` - (Required) The name of the resource group in which the EventHub's parent Namespace exists. Changing this forces a new resource to be created.

* `partition_count` - (Required) Specifies the current number of shards on the Event Hub.
* `partition_count` - (Required) Specifies the current number of shards on the Event Hub. Changing this will force-recreate the resource.

~> **Note:** `partition_count` cannot be changed unless Eventhub Namespace SKU is `Premium`.

Expand Down

0 comments on commit 8262061

Please sign in to comment.