Skip to content

Latest commit

 

History

History
83 lines (62 loc) · 1.19 KB

heroku_config.md

File metadata and controls

83 lines (62 loc) · 1.19 KB

heroku_config

back

Index

Terraform

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

top

Example Usage

module "heroku_config" {
  source = "./modules/heroku/r/heroku_config"

  # sensitive_vars - (optional) is a type of map of string
  sensitive_vars = {}
  # vars - (optional) is a type of map of string
  vars = {}
}

top

Variables

variable "sensitive_vars" {
  description = "(optional)"
  type        = map(string)
  default     = null
}

variable "vars" {
  description = "(optional)"
  type        = map(string)
  default     = null
}

top

Resource

resource "heroku_config" "this" {
  # sensitive_vars - (optional) is a type of map of string
  sensitive_vars = var.sensitive_vars
  # vars - (optional) is a type of map of string
  vars = var.vars
}

top

Outputs

output "id" {
  description = "returns a string"
  value       = heroku_config.this.id
}

output "this" {
  value = heroku_config.this
}

top