gcloud
The Google Cloud CLI, from Google's official apt repository.
Installs the Google Cloud CLI (gcloud).
devtools:
- name: gcloudThe version field is not used by this recipe.
Updates
The Google Cloud CLI comes from Google’s package repository, so it moves with the operating system updates the workstation applies.
Purpose
Declares Google’s Cloud SDK apt repository and its signing key, then installs the
google-cloud-cli package through the normal repository and package phases.
Debian and Ubuntu only
Example
A cloud-operations workstation with all three vendor CLIs and browser-relayed logins:
devtools:
- name: gcloud
- name: aws
- name: az
- name: passthrough-www-browser
defaultLocalBinding:
enabled: true
urlForward:
enabled: truegcloud auth login inside the workstation then opens its consent URL in your computer’s
browser.
Notes
- The repository is added declaratively, so it interleaves with your own
packageRepositoriesandpackagesand the index is refreshed once. - Authenticating
gcloudis a runtime step inside the workstation; Ringleader does not inject cloud credentials into a workstation.