Skip to content

Commit

Permalink
alter identity_id check to be non-empty (#3195)
Browse files Browse the repository at this point in the history
Fixes a bug I introduced in #3183.  Big thanks for the catch by @adamday2
  • Loading branch information
Lucretius authored and katbyte committed Apr 5, 2019
1 parent 5bea958 commit af963d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions azurerm/resource_arm_virtual_machine.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import (
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/helper/validation"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/tf"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/helpers/validate"
"github.com/terraform-providers/terraform-provider-azurerm/azurerm/utils"
"golang.org/x/net/context"
)
Expand Down Expand Up @@ -106,7 +105,7 @@ func resourceArmVirtualMachine() *schema.Resource {
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: validate.UUID,
ValidateFunc: validation.NoZeroValues,
},
},
},
Expand Down

0 comments on commit af963d1

Please sign in to comment.