Skip to content

Commit

Permalink
[enhancement] - Increase max size_in_tb for azurerm_netapp_pool (h…
Browse files Browse the repository at this point in the history
…ashicorp#26772)

* increase max allowed netapp pool size

* reset test to original value due to quota
  • Loading branch information
bruceharrison1984 authored Jul 24, 2024
1 parent 26f2403 commit 4546a7a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/services/netapp/netapp_pool_resource.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func resourceNetAppPool() *pluginsdk.Resource {
"size_in_tb": {
Type: pluginsdk.TypeInt,
Required: true,
ValidateFunc: validation.IntBetween(2, 500),
ValidateFunc: validation.IntBetween(2, 2048),
},

"qos_type": {
Expand Down
4 changes: 3 additions & 1 deletion website/docs/r/netapp_pool.html.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ The following arguments are supported:

* `service_level` - (Required) The service level of the file system. Valid values include `Premium`, `Standard`, and `Ultra`. Changing this forces a new resource to be created.

* `size_in_tb` - (Required) Provisioned size of the pool in TB. Value must be between `2` and `500`.
* `size_in_tb` - (Required) Provisioned size of the pool in TB. Value must be between `2` and `2048`.

~> **NOTE** `2` TB capacity pool sizing is currently in preview. You can only take advantage of the `2` TB minimum if all the volumes in the capacity pool are using `Standard` network features. If any volume is using `Basic` network features, the minimum size is `4` TB. Please see the product [documentation](https://learn.microsoft.com/azure/azure-netapp-files/azure-netapp-files-set-up-capacity-pool) for more information.

~> **NOTE** The maximum `size_in_tb` is goverened by regional quotas. You may request additional capacity from Azure, currently up to `2048`.

* `qos_type` - (Optional) QoS Type of the pool. Valid values include `Auto` or `Manual`.

* `encryption_type` - (Optional) The encryption type of the pool. Valid values include `Single`, and `Double`. Defaults to `Single`. Changing this forces a new resource to be created.
Expand Down

0 comments on commit 4546a7a

Please sign in to comment.