How to deploy ONLY with terraform


Hi I wanna have my github repo with my terraform files be deployed to AWS via travis CI

Below is my travis file


  provider: script
  script: bash
    branch: master

Note: I have include my AWS SECRET_KEY and AWS_SECRET_ACCESS_KEY omitted from the example


set -o errexit -o nounset

terraform init

terraform plan

terraform apply

My build keep failing at execution of rake but I’m not running any rake task.

How can I totally skip that in travis and apply my only instead?

Also, I notice travis-ci is not include with terraform binary command. How do I fixed that?


When reporting a problem, please include the build log URL that shows the issue, so we can help you better.