Skip to content

Latest commit

 

History

History
112 lines (86 loc) · 1.99 KB

equinix_network_account.md

File metadata and controls

112 lines (86 loc) · 1.99 KB

equinix_network_account

back

Index

Terraform

terraform {
  required_providers {
    equinix = ">= 1.1.0-beta"
  }
}

top

Example Usage

module "equinix_network_account" {
  source = "./modules/equinix/d/equinix_network_account"

  # metro_code - (required) is a type of string
  metro_code = null
  # name - (optional) is a type of string
  name = null
  # status - (optional) is a type of string
  status = null
}

top

Variables

variable "metro_code" {
  description = "(required) - Account location metro cod"
  type        = string
}

variable "name" {
  description = "(optional) - Account name for filtering"
  type        = string
  default     = null
}

variable "status" {
  description = "(optional) - Account status for filtering. Possible values are Active, Processing, Submitted, Staged"
  type        = string
  default     = null
}

top

Datasource

data "equinix_network_account" "this" {
  # metro_code - (required) is a type of string
  metro_code = var.metro_code
  # name - (optional) is a type of string
  name = var.name
  # status - (optional) is a type of string
  status = var.status
}

top

Outputs

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

output "name" {
  description = "returns a string"
  value       = data.equinix_network_account.this.name
}

output "number" {
  description = "returns a string"
  value       = data.equinix_network_account.this.number
}

output "status" {
  description = "returns a string"
  value       = data.equinix_network_account.this.status
}

output "ucm_id" {
  description = "returns a string"
  value       = data.equinix_network_account.this.ucm_id
}

output "this" {
  value = equinix_network_account.this
}

top