Merge pull request #3005 from sobrinho/patch-1
Fix typo on heroku_cert example
This commit is contained in:
commit
1d77a258d0
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue