back
terraform {
required_providers {
heroku = ">= 4.1.1"
}
}
top
module "heroku_cert" {
source = "./modules/heroku/r/heroku_cert"
# app - (required) is a type of string
app = null
# certificate_chain - (required) is a type of string
certificate_chain = null
# private_key - (required) is a type of string
private_key = null
}
top
variable "app" {
description = "(required)"
type = string
}
variable "certificate_chain" {
description = "(required)"
type = string
}
variable "private_key" {
description = "(required)"
type = string
}
top
resource "heroku_cert" "this" {
# app - (required) is a type of string
app = var.app
# certificate_chain - (required) is a type of string
certificate_chain = var.certificate_chain
# private_key - (required) is a type of string
private_key = var.private_key
}
top
output "cname" {
description = "returns a string"
value = heroku_cert.this.cname
}
output "id" {
description = "returns a string"
value = heroku_cert.this.id
}
output "name" {
description = "returns a string"
value = heroku_cert.this.name
}
output "this" {
value = heroku_cert.this
}
top