This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
provider "heroku" { | |
email = "test@example.com" | |
api_key = "call heroku auth:token" | |
} | |
resource "heroku_app" "default" { | |
name = "herokutest" | |
region = "us" | |
config_vars { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Heroku Terraform Example | |
# A terraform file for setting up a heroku app. I recommend you do `terraform plan -out=plan` to see what it would do before running `terraform apply`. | |
# If you would like to tear down the app, just run `terraform destroy`. | |
variable "heroku_api_key" { | |
default = "api key here" | |
description = "Your Heroku api key" | |
} | |
variable "email" { |