back
terraform {
required_providers {
aci = ">= 0.5.4"
}
}
top
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
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
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
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