Created
October 6, 2017 13:38
-
-
Save ingshtrom/3b193fd0e2239f7b1d484da35f118250 to your computer and use it in GitHub Desktop.
codebuild failed config
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: | |
TerraformVersion: 0.10.7 | |
TF_LOG: trace | |
phases: | |
install: | |
commands: | |
# install terraform | |
- cd /tmp | |
- curl -o terraform.zip https://releases.hashicorp.com/terraform/${TerraformVersion}/terraform_${TerraformVersion}_linux_amd64.zip | |
- unzip terraform.zip | |
- mv terraform /usr/bin | |
- cd - | |
build: | |
commands: | |
- cd ./aws/terraform | |
- terraform init -no-color | |
- terraform validate -no-color |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment