Created
February 19, 2021 04:45
-
-
Save ruanbekker/db8be5f554e1e0c144d03297b4008670 to your computer and use it in GitHub Desktop.
Install Terraform on AWS CodeBuild
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
version: 0.2 | |
env: | |
variables: | |
TERRAFORM_VERSION: "0.14.7" | |
phases: | |
install: | |
commands: | |
- curl -o "terraform.zip" https://releases.hashicorp.com/terraform/"$TERRAFORM_VERSION"/terraform_"$TERRAFORM_VERSION"_linux_amd64.zip | |
- unzip terraform.zip | |
- mv terraform /usr/bin/terraform | |
- rm -f terraform.zip | |
- terraform -version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment