Skip to content

Latest commit

 

History

History
99 lines (76 loc) · 1.46 KB

File metadata and controls

99 lines (76 loc) · 1.46 KB

heroku_formation

back

Index

Terraform

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

top

Example Usage

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

  # app - (required) is a type of string
  app = null
  # quantity - (required) is a type of number
  quantity = null
  # size - (required) is a type of string
  size = null
  # type - (required) is a type of string
  type = null
}

top

Variables

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

variable "quantity" {
  description = "(required)"
  type        = number
}

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

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

top

Resource

resource "heroku_formation" "this" {
  # app - (required) is a type of string
  app = var.app
  # quantity - (required) is a type of number
  quantity = var.quantity
  # size - (required) is a type of string
  size = var.size
  # type - (required) is a type of string
  type = var.type
}

top

Outputs

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

output "this" {
  value = heroku_formation.this
}

top