Skip to content

Latest commit

 

History

History
100 lines (76 loc) · 1.53 KB

heroku_cert.md

File metadata and controls

100 lines (76 loc) · 1.53 KB

heroku_cert

back

Index

Terraform

terraform {
  required_providers {
    heroku = ">= 4.1.1"
  }
}

top

Example Usage

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

Variables

variable "app" {
  description = "(required)"
  type        = string
}

variable "certificate_chain" {
  description = "(required)"
  type        = string
}

variable "private_key" {
  description = "(required)"
  type        = string
}

top

Resource

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

Outputs

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