From 4546a7aaafda272f992996fc3f55d4a61d4478c0 Mon Sep 17 00:00:00 2001 From: Bruce Harrison Date: Wed, 24 Jul 2024 10:50:59 -0500 Subject: [PATCH] [enhancement] - Increase max `size_in_tb` for `azurerm_netapp_pool` (#26772) * increase max allowed netapp pool size * reset test to original value due to quota --- internal/services/netapp/netapp_pool_resource.go | 2 +- website/docs/r/netapp_pool.html.markdown | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/internal/services/netapp/netapp_pool_resource.go b/internal/services/netapp/netapp_pool_resource.go index c8e78280f8f2..fb661d2fd0d8 100644 --- a/internal/services/netapp/netapp_pool_resource.go +++ b/internal/services/netapp/netapp_pool_resource.go @@ -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": { diff --git a/website/docs/r/netapp_pool.html.markdown b/website/docs/r/netapp_pool.html.markdown index bd6018a997df..c7b1b2b449c4 100644 --- a/website/docs/r/netapp_pool.html.markdown +++ b/website/docs/r/netapp_pool.html.markdown @@ -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.