diff --git a/backend/remote-state/gcs/backend.go b/backend/remote-state/gcs/backend.go index f1e6b372a..4a488431c 100644 --- a/backend/remote-state/gcs/backend.go +++ b/backend/remote-state/gcs/backend.go @@ -138,7 +138,7 @@ func (b *Backend) configure(ctx context.Context) error { Email: account.ClientEmail, PrivateKey: []byte(account.PrivateKey), Scopes: []string{storage.ScopeReadWrite}, - TokenURL: "https://accounts.google.com/o/oauth2/token", + TokenURL: "https://oauth2.googleapis.com/token", } opts = append(opts, option.WithHTTPClient(conf.Client(ctx)))