back
terraform {
required_providers {
heroku = ">= 4.1.1"
}
}
top
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
variable "app" {
description = "(required)"
type = string
}
variable "url" {
description = "(required)"
type = string
}
top
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
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