Skip to content

Latest commit

 

History

History
92 lines (70 loc) · 1.48 KB

heroku_app_config_association.md

File metadata and controls

92 lines (70 loc) · 1.48 KB

heroku_app_config_association

back

Index

Terraform

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

top

Example Usage

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

  # app_id - (required) is a type of string
  app_id = null
  # 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 "app_id" {
  description = "(required)"
  type        = string
}

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

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

top

Resource

resource "heroku_app_config_association" "this" {
  # app_id - (required) is a type of string
  app_id = var.app_id
  # 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_app_config_association.this.id
}

output "this" {
  value = heroku_app_config_association.this
}

top