This repository has been archived on 2026-01-10. You can view files and clone it, but cannot push or open issues or pull requests.
coder-templates/startup_scripts/gcloud.tf.jinja
Steve McMaster 89b644d018
All checks were successful
continuous-integration/drone/push Build is passing
test
2023-10-19 22:45:03 -04:00

8 lines
402 B
Django/Jinja

sudo apt update
sudo apt install gnupg
echo "deb [signed-by=/usr/share/keyrings/cloud.google.gpg] https://packages.cloud.google.com/apt cloud-sdk main" | sudo tee -a /etc/apt/sources.list.d/google-cloud-sdk.list
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key --keyring /usr/share/keyrings/cloud.google.gpg add -
sudo apt update
sudo apt install google-cloud-cli