diff --git a/google-beta/resource_container_cluster_test.go b/google-beta/resource_container_cluster_test.go index b444e63fea..2dc1473bd9 100644 --- a/google-beta/resource_container_cluster_test.go +++ b/google-beta/resource_container_cluster_test.go @@ -1727,7 +1727,7 @@ func TestAccContainerCluster_errorNoClusterCreated(t *testing.T) { Steps: []resource.TestStep{ { Config: testAccContainerCluster_withInvalidLocation("wonderland"), - ExpectError: regexp.MustCompile(`Location "wonderland" does not exist`), + ExpectError: regexp.MustCompile(`Permission denied on 'locations/wonderland' \(or it may not exist\).`), }, }, })