Skip to content

Commit

Permalink
remove minItem for zone in VMSS (#3142)
Browse files Browse the repository at this point in the history
Resolves #1787
  • Loading branch information
Lucretius authored and katbyte committed Apr 1, 2019
1 parent a63b31e commit 68a2ec8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion azurerm/helpers/azure/zones.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ func SchemaZones() *schema.Schema {
Type: schema.TypeList,
Optional: true,
ForceNew: true,
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
},
Expand Down
1 change: 1 addition & 0 deletions azurerm/resource_arm_virtual_machine_scale_set_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 68a2ec8

Please sign in to comment.