From b1ef00ffb716d2f6cc437815b2daaa63ecbc0bc4 Mon Sep 17 00:00:00 2001 From: Robert Lippens Date: Thu, 28 Mar 2019 14:31:55 -0700 Subject: [PATCH] remove minItem for zone in VMSS --- azurerm/helpers/azure/zones.go | 1 - azurerm/resource_arm_virtual_machine_scale_set_test.go | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/azurerm/helpers/azure/zones.go b/azurerm/helpers/azure/zones.go index 04fcac6c6577..4a63d600973a 100644 --- a/azurerm/helpers/azure/zones.go +++ b/azurerm/helpers/azure/zones.go @@ -7,7 +7,6 @@ func SchemaZones() *schema.Schema { Type: schema.TypeList, Optional: true, ForceNew: true, - MinItems: 1, Elem: &schema.Schema{ Type: schema.TypeString, }, diff --git a/azurerm/resource_arm_virtual_machine_scale_set_test.go b/azurerm/resource_arm_virtual_machine_scale_set_test.go index 9b6c551219df..bd18644e6517 100644 --- a/azurerm/resource_arm_virtual_machine_scale_set_test.go +++ b/azurerm/resource_arm_virtual_machine_scale_set_test.go @@ -1335,6 +1335,7 @@ resource "azurerm_virtual_machine_scale_set" "test" { location = "${azurerm_resource_group.test.location}" resource_group_name = "${azurerm_resource_group.test.name}" upgrade_policy_mode = "Manual" + zones = [] sku { name = "Standard_D1_v2"