Herokuのチュートリアルで作成したアプリをterraformでデプロイする
https://gyazo.com/55f2f2fb3964e86fc4822815d149c79e
/icons/github.icon kadoyau/heroku-terraforming-tenarai: Getting Started with Go on Heroku using Terraform
Herokuのトークンの取得
heroku auth:token
terraform plan
code:zsh
terraform show
# git_url = https://git.heroku.com/heroku-terraforming-tenarai.git
cd go-getting-started git remote add heroku https://git.heroku.com/heroku-terraforming-tenarai.git
go get -u github.com/kardianos/govendor
export GOPATH=$HOME/go
export PATH=$PATH:$GOPATH/bin
govendor fetch github.com/russross/blackfriday
govendor fetch github.com/lib/pq
git push heroku master
Install Govendor with "go get -u github.com/kardianos/govendor" on Ubuntu · Issue #304 · kardianos/govendor
#heroku #terraform