Skip to content

Commit

Permalink
azurerm_eventhub_namespace: Remove capacity limits (#10734)
Browse files Browse the repository at this point in the history
Adjusted the docs to reflect that default capacity has a limit of 20,
but can be increased.

Fixes #10691
  • Loading branch information
favoretti authored Feb 25, 2021
1 parent d8b3345 commit b995165
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,9 @@ func resourceEventHubNamespace() *schema.Resource {
},

"capacity": {
Type: schema.TypeInt,
Optional: true,
Default: 1,
ValidateFunc: validation.IntBetween(1, 20),
Type: schema.TypeInt,
Optional: true,
Default: 1,
},

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

* `sku` - (Required) Defines which tier to use. Valid options are `Basic` and `Standard`.

* `capacity` - (Optional) Specifies the Capacity / Throughput Units for a `Standard` SKU namespace. Valid values range from `1` - `20`.
* `capacity` - (Optional) Specifies the Capacity / Throughput Units for a `Standard` SKU namespace. Default capacity has a maximum of `20`, but can be increased in blocks of 20 on a committed purchase basis.

* `auto_inflate_enabled` - (Optional) Is Auto Inflate enabled for the EventHub Namespace?

Expand Down

0 comments on commit b995165

Please sign in to comment.