tfwriter

Terraform HCL code generator.

Download as .zip Download as .tar.gz View on GitHub

aci_spine_port_selector

back

Index

Terraform

terraform {
  required_providers {
    aci = ">= 0.5.4"
  }
}

top

Example Usage

module "aci_spine_port_selector" {
  source = "./modules/aci/d/aci_spine_port_selector"

  # annotation - (optional) is a type of string
  annotation = null
  # description - (optional) is a type of string
  description = null
  # spine_profile_dn - (required) is a type of string
  spine_profile_dn = null
  # tdn - (required) is a type of string
  tdn = null
}

top

Variables

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

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

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

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

top

Datasource

data "aci_spine_port_selector" "this" {
  # annotation - (optional) is a type of string
  annotation = var.annotation
  # description - (optional) is a type of string
  description = var.description
  # spine_profile_dn - (required) is a type of string
  spine_profile_dn = var.spine_profile_dn
  # tdn - (required) is a type of string
  tdn = var.tdn
}

top

Outputs

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

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

output "this" {
  value = aci_spine_port_selector.this
}

top