back
terraform {
required_providers {
heroku = ">= 4.1.1"
}
}
top
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
variable "sensitive_vars" {
description = "(optional)"
type = map(string)
default = null
}
variable "vars" {
description = "(optional)"
type = map(string)
default = null
}
top
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
output "id" {
description = "returns a string"
value = heroku_config.this.id
}
output "this" {
value = heroku_config.this
}
top