Skip to content

Latest commit

 

History

History
132 lines (102 loc) · 2.17 KB

heroku_space.md

File metadata and controls

132 lines (102 loc) · 2.17 KB

heroku_space

back

Index

Terraform

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

top

Example Usage

module "heroku_space" {
  source = "./modules/heroku/d/heroku_space"

  # cidr - (optional) is a type of string
  cidr = null
  # data_cidr - (optional) is a type of string
  data_cidr = null
  # name - (required) is a type of string
  name = null
}

top

Variables

variable "cidr" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "data_cidr" {
  description = "(optional)"
  type        = string
  default     = null
}

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

top

Datasource

data "heroku_space" "this" {
  # cidr - (optional) is a type of string
  cidr = var.cidr
  # data_cidr - (optional) is a type of string
  data_cidr = var.data_cidr
  # name - (required) is a type of string
  name = var.name
}

top

Outputs

output "cidr" {
  description = "returns a string"
  value       = data.heroku_space.this.cidr
}

output "data_cidr" {
  description = "returns a string"
  value       = data.heroku_space.this.data_cidr
}

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

output "organization" {
  description = "returns a string"
  value       = data.heroku_space.this.organization
}

output "outbound_ips" {
  description = "returns a list of string"
  value       = data.heroku_space.this.outbound_ips
}

output "region" {
  description = "returns a string"
  value       = data.heroku_space.this.region
}

output "shield" {
  description = "returns a bool"
  value       = data.heroku_space.this.shield
}

output "state" {
  description = "returns a string"
  value       = data.heroku_space.this.state
}

output "trusted_ip_ranges" {
  description = "returns a list of string"
  value       = data.heroku_space.this.trusted_ip_ranges
}

output "this" {
  value = heroku_space.this
}

top