update regex for runtimeconfig name (#2643)

<!-- This change is generated by MagicModules. -->
/cc @danawillow
This commit is contained in:
The Magician 2018-12-12 09:22:03 -08:00 committed by Nathan McKinley
parent a3a2f15086
commit 321af9f6f7

View File

@ -26,7 +26,7 @@ func resourceRuntimeconfigConfig() *schema.Resource {
Type: schema.TypeString,
Required: true,
ForceNew: true,
ValidateFunc: validateGCPName,
ValidateFunc: validateRegexp("[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?"),
},
"description": {