Sha256: d25bcc8f3d8b5d4b19e735758b96fc692443fa2924f5449ffa826f1b1118ddea
Contents?: true
Size: 504 Bytes
Versions: 18
Compression:
Stored size: 504 Bytes
Contents
#!/bin/bash set -eu TERRAFORM_VERSION=latest git clone https://github.com/tfutils/tfenv.git ~/.tfenv echo 'export PATH="$HOME/.tfenv/bin:$PATH"' >> ~/.bash_profile export PATH="$HOME/.tfenv/bin:$PATH" tfenv install $TERRAFORM_VERSION tfenv use $TERRAFORM_VERSION # Generate wrapper so dont have to worry about adding .tfenv/bin to PATH in codebuild env cat << 'EOL' > /usr/local/bin/terraform #!/bin/bash export PATH="$HOME/.tfenv/bin:$PATH" exec terraform "$@" EOL chmod +x /usr/local/bin/terraform
Version data entries
18 entries across 18 versions & 1 rubygems