Created
July 31, 2014 17:03
-
-
Save hstove/2dbd8830d83b8782f67f to your computer and use it in GitHub Desktop.
terraform test file
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
variable "heroku_api_key" {} | |
variable "heroku_app_name" {} | |
# Configure the Heroku provider | |
provider "heroku" { | |
email = "hstove@gmail.com" | |
api_key = "${var.heroku_api_key}" | |
} | |
# Create a new applicaiton | |
resource "heroku_app" "default" { | |
name = "{$var.heroku_app_name}" | |
} | |
resource "heroku_addon" "sendgrid" { | |
app = "${heroku_app.default.name}" | |
plan = "sendgrid:starter" | |
} | |
resource "heroku_addon" "memcachier" { | |
app = "${heroku_app.default.name}" | |
plan = "memcachier:dev" | |
} | |
resource "heroku_addon" "newrelic" { | |
app = "${heroku_app.default.name}" | |
plan = "newrelic:wayne" | |
} | |
resource "heroku_addon" "backups" { | |
app = "${heroku_app.default.name}" | |
plan = "pgbackups:plus" | |
} | |
resource "heroku_addon" "redis" { | |
app = "${heroku_app.default.name}" | |
plan = "redistogo:nano" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment