Skip to content

Latest commit

 

History

History
91 lines (69 loc) · 1.3 KB

heroku_app_feature.md

File metadata and controls

91 lines (69 loc) · 1.3 KB

heroku_app_feature

back

Index

Terraform

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

top

Example Usage

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

  # app - (required) is a type of string
  app = null
  # enabled - (optional) is a type of bool
  enabled = null
  # name - (required) is a type of string
  name = null
}

top

Variables

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

variable "enabled" {
  description = "(optional)"
  type        = bool
  default     = null
}

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

top

Resource

resource "heroku_app_feature" "this" {
  # app - (required) is a type of string
  app = var.app
  # enabled - (optional) is a type of bool
  enabled = var.enabled
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

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

output "this" {
  value = heroku_app_feature.this
}

top