Skip to content

Commit

Permalink
Merge pull request #5842 from jknash/patch-2
Browse files Browse the repository at this point in the history
Update AD domain regex for azure netapp files account to allow dash (-)
  • Loading branch information
tombuildsstuff authored Feb 23, 2020
2 parents c7d0095 + 677220e commit cb94cc1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func resourceArmNetAppAccount() *schema.Resource {
Type: schema.TypeString,
Required: true,
ValidateFunc: validation.StringMatch(
regexp.MustCompile(`^[(\da-zA-Z)\.]{1,255}$`),
regexp.MustCompile(`^[(\da-zA-Z-)\.]{1,255}$`),
`The domain name must end with a letter or number before dot and start with a letter or number after dot and can not be longer than 255 characters in length.`,
),
},
Expand Down

0 comments on commit cb94cc1

Please sign in to comment.