Use Terraform in a buildpack compatible app.
The Terraform config must implement a non-local backend, because otherwise state will be lost between runs. The default local backend saves state in the filesystem which is emphemeral.
Add the buildpack to a .buildpacks
configuration in the root of the application directory to install terraform
for the application to utilize.
TERRAFORM_BIN_URL
set the source URL for the terraform binary- Defaults to 64-bit Linux binary for Heroku runtime
- Expects a
*.zip
file as distributed by Hashicorp