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 4b07b43fcc
All checks were successful
continuous-integration/drone/push Build is passing
update
2023-10-19 23:53:59 -04:00

8 lines
408 B
Django/Jinja

sudo apt update
sudo apt -y 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 -y install google-cloud-cli