Fix typo on heroku_cert example

This commit is contained in:
Gabriel Sobrinho 2015-08-14 18:56:57 -03:00
parent 89e5687d1b
commit 456fc37449
1 changed files with 2 additions and 2 deletions

View File

@ -20,13 +20,13 @@ resource "heroku_app" "default" {
# Add-on SSL to application
resource "heroku_addon" "ssl" {
app = "${heroku_app.service.name}"
app = "${heroku_app.default.name}"
plan = "ssl"
}
# Establish certificate for a given application
resource "heroku_cert" "ssl_certificate" {
app = "${heroku_app.service.name}"
app = "${heroku_app.default.name}"
certificate_chain = "${file("server.crt")}"
private_key = "${file("server.key")}"
depends_on = "heroku_addon.ssl"