Skip to content

Latest commit

 

History

History
86 lines (64 loc) · 1.13 KB

File metadata and controls

86 lines (64 loc) · 1.13 KB

heroku_drain

back

Index

Terraform

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

top

Example Usage

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

  # app - (required) is a type of string
  app = null
  # url - (required) is a type of string
  url = null
}

top

Variables

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

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

top

Resource

resource "heroku_drain" "this" {
  # app - (required) is a type of string
  app = var.app
  # url - (required) is a type of string
  url = var.url
}

top

Outputs

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

output "token" {
  description = "returns a string"
  value       = heroku_drain.this.token
}

output "this" {
  value = heroku_drain.this
}

top