Skip to content

Commit 64a425d

Browse files
modular-magiciandanawillow
authored andcommitted
update regex for runtimeconfig name (#2643)
<!-- This change is generated by MagicModules. --> /cc @danawillow
1 parent 954a353 commit 64a425d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

google/resource_runtimeconfig_config.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func resourceRuntimeconfigConfig() *schema.Resource {
2626
Type: schema.TypeString,
2727
Required: true,
2828
ForceNew: true,
29-
ValidateFunc: validateGCPName,
29+
ValidateFunc: validateRegexp("[0-9A-Za-z](?:[_.A-Za-z0-9-]{0,62}[_.A-Za-z0-9])?"),
3030
},
3131

3232
"description": {

0 commit comments

Comments
 (0)