This file contains hidden or 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
#!/usr/bin/env bash | |
set -euxo pipefail | |
function install_terraform() {( | |
sudo apt-get update | |
sudo apt-get install -y \ | |
gnupg \ | |
software-properties-common | |
wget -O- https://apt.releases.hashicorp.com/gpg \ | |
| gpg --dearmor \ |