diff --git a/google/provider.go b/google/provider.go index c1f2811eb16..99d98aa66be 100644 --- a/google/provider.go +++ b/google/provider.go @@ -1525,7 +1525,7 @@ func validateCredentials(v interface{}, k string) (warnings []string, errors []e } if _, err := googleoauth.CredentialsFromJSON(context.Background(), []byte(creds)); err != nil { errors = append(errors, - fmt.Errorf("JSON credentials in %q are not valid: %s", creds, err)) + fmt.Errorf("JSON credentials are not valid: %s", err)) } return