Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (14 sloc) 498 Bytes
dependencies:
pre:
- wget https://dl.bintray.com/mitchellh/terraform/terraform_0.6.3_linux_amd64.zip
- unzip terraform_0.6.3_linux_amd64.zip
test:
override:
- ./terraform remote config -backend=S3 -backend-config="bucket=$BUCKET" -backend-config="key=terraform.tfstate" -backend-config="region=us-east-1"
- ./terraform plan -out=terraform.plan
deployment:
production:
branch: master
commands:
- ./terraform apply terraform.plan
- ./terraform remote push