From 321af9f6f742e528a7acd583da2f4868966734c5 Mon Sep 17 00:00:00 2001 From: The Magician Date: Wed, 12 Dec 2018 09:22:03 -0800 Subject: [PATCH] update regex for runtimeconfig name (#2643) /cc @danawillow --- google/resource_runtimeconfig_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/google/resource_runtimeconfig_config.go b/google/resource_runtimeconfig_config.go index 151b6c4c..45134504 100644 --- a/google/resource_runtimeconfig_config.go +++ b/google/resource_runtimeconfig_config.go @@ -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": {