Skip to content

Instantly share code, notes, and snippets.

@sunnyone
sunnyone / gist:878fb959925ba0fbd1aa
Created April 13, 2015 02:30
Terraform heroku example
provider "heroku" {
email = "test@example.com"
api_key = "call heroku auth:token"
}
resource "heroku_app" "default" {
name = "herokutest"
region = "us"
config_vars {
@adamveld12
adamveld12 / heroku_example.tf
Last active April 2, 2018 12:57
GoLang Heroku Terraform
# 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" {