November 17, 2026 · Google CloudBreaking
Action needed
gcloud 594.0.0: positional arguments now take precedence over --account and --project
594.0.0 (2026-11-17)
- (Google Cloud CLI) Fixed an issue where
--accountoverrode theACCOUNT_NAMEpositional argument (formerlyACCOUNT) ofgcloud auth print-access-token,print-identity-token,login,application-default login, andactivate-service-accountwhen specified after it. The positional argument now takes precedence.--accountstill applies whenACCOUNT_NAMEis omitted. - (Cloud Billing) Fixed an issue where
--accountoverrode theACCOUNT_IDpositional argument (formerlyACCOUNT) ofgcloud billing accounts get-iam-policy,set-iam-policy,add-iam-policy-binding, andremove-iam-policy-bindingwhen specified after it. The positional argument now takes precedence.ACCOUNT_IDis now always required.--accountno longer replaces a missingACCOUNT_ID. - (Compute Engine) Fixed an issue where
--projectoverrode thePROJECT_IDpositional argument ofgcloud compute shared-vpccommands when specified after it. The positional argument now takes precedence.PROJECT_IDis now always required.--projectno longer replaces a missingPROJECT_ID.
Text from the Google Cloud release notes, licensed under CC BY 4.0. Source: Google Cloud release notes.