Merge pull request #3005 from sobrinho/patch-1

Fix typo on heroku_cert example
This commit is contained in:
Radek Simko 2015-08-15 11:25:53 +01:00
commit 1d77a258d0
1 changed files with 2 additions and 2 deletions

View File

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