From 9df0eb89b56b10f0f5accb20871593d49dc785ed Mon Sep 17 00:00:00 2001 From: Ritika Patil Date: Thu, 31 Oct 2024 12:19:11 -0500 Subject: [PATCH] additional test update --- modules/azurerm_netapp/main.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/azurerm_netapp/main.tf b/modules/azurerm_netapp/main.tf index 04b38c9..1182da8 100644 --- a/modules/azurerm_netapp/main.tf +++ b/modules/azurerm_netapp/main.tf @@ -23,7 +23,7 @@ resource "azurerm_netapp_pool" "anf" { lifecycle { precondition { - condition = var.size_in_tb == 1 && var.network_features != "Standard" + condition = var.size_in_tb != 1 || var.network_features == "Standard" error_message = "You can only take advantage of the 1-TiB 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 TiB." } }