From fd58fc6339ca76685bfc01b68a975dd24105cb4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Beaufils?= Date: Mon, 19 Aug 2024 13:57:44 +0200 Subject: [PATCH] fix: fix minimum value for 'size_in_tb' parameter for 'azurerm_netapp_pool' resource --- internal/services/netapp/netapp_pool_resource.go | 2 +- website/docs/r/netapp_pool.html.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/services/netapp/netapp_pool_resource.go b/internal/services/netapp/netapp_pool_resource.go index fb661d2fd0d8..ffff1d73292c 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, 2048), + ValidateFunc: validation.IntBetween(1, 2048), }, "qos_type": { diff --git a/website/docs/r/netapp_pool.html.markdown b/website/docs/r/netapp_pool.html.markdown index c7b1b2b449c4..83da8e56db50 100644 --- a/website/docs/r/netapp_pool.html.markdown +++ b/website/docs/r/netapp_pool.html.markdown @@ -48,7 +48,7 @@ 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 `2048`. +* `size_in_tb` - (Required) Provisioned size of the pool in TB. Value must be between `1` 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.