Skip to content

Commit

Permalink
SchemaResourceGroupNameForDataSource Add ValidateFunc
Browse files Browse the repository at this point in the history
  • Loading branch information
magodo authored and jrauschenbusch committed May 13, 2020
1 parent f324c9f commit 953cddc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions azurerm/helpers/azure/resource_group.go
Expand Up @@ -30,8 +30,9 @@ func SchemaResourceGroupNameDiffSuppress() *schema.Schema {

func SchemaResourceGroupNameForDataSource() *schema.Schema {
return &schema.Schema{
Type: schema.TypeString,
Required: true,
Type: schema.TypeString,
Required: true,
ValidateFunc: validateResourceGroupName,
}
}

Expand Down

0 comments on commit 953cddc

Please sign in to comment.