Created
February 4, 2022 10:56
-
-
Save marcelmaatkamp/48edccf7d631ada926ef81bb883f4b5f to your computer and use it in GitHub Desktop.
Install terraform and kubectl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ \ | |
sudo apt-get install -y \ | |
apt-transport-https \ | |
ca-certificates \ | |
curl \ | |
&&\ | |
curl -fsSL https://apt.releases.hashicorp.com/gpg | \ | |
sudo apt-key add - &&\ | |
sudo apt-add-repository \ | |
"deb [arch=$(dpkg --print-architecture)] https://apt.releases.hashicorp.com $(lsb_release -cs) main" &&\ | |
sudo apt install \ | |
terraform &&\ | |
sudo curl -fsSLo \ | |
/usr/share/keyrings/kubernetes-archive-keyring.gpg \ | |
https://packages.cloud.google.com/apt/doc/apt-key.gpg &&\ | |
echo "deb [signed-by=/usr/share/keyrings/kubernetes-archive-keyring.gpg] https://apt.kubernetes.io/ kubernetes-xenial main" | \ | |
sudo tee /etc/apt/sources.list.d/kubernetes.list | |
$ \ | |
sudo apt install -y \ | |
terraform \ | |
kubectl |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment