diff --git a/third_party/terraform/resources/resource_google_project.go b/third_party/terraform/resources/resource_google_project.go index 77f95638c5a9..ce1031d3d6fd 100644 --- a/third_party/terraform/resources/resource_google_project.go +++ b/third_party/terraform/resources/resource_google_project.go @@ -451,7 +451,7 @@ func resourceGoogleProjectDelete(d *schema.ResourceData, meta interface{}) error func resourceProjectImportState(d *schema.ResourceData, meta interface{}) ([]*schema.ResourceData, error) { pid := d.Id() // Project id must start with a letter. This prevents users from importing with project number - matched, err := regexp.MatchString("^[^\d]", pid) + matched, err := regexp.MatchString("^[^\\d]", pid) if err != nil { return nil, fmt.Errorf("Error matching project %q: %s", pid, err) }