Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 796 Bytes

File metadata and controls

30 lines (21 loc) · 796 Bytes

Back to Main README

Deploying Infrastructure

The cloud resources can be provisioned automatically using Terraform

You will need:

Terraform (v0.13.0) can be installed and managed using Terraform Version Manager

tfenv install 0.13.0
tfenv use 0.13.0

Heroku Deployment:

You'll need a set of credentials to your Heroku account stored in a file secret.tfvars that looks like this


Once that file is setup in the infrastructure/heroku directory, you're ready to deploy the application:

cd infrastructure/heroku
terraform init -var-file="secret.tfvars"
terraform plan -var-file="secret.tfvars"
terraform apply -var-file="secret.tfvars"