back
terraform {
required_providers {
aci = ">= 0.5.4"
}
}
top
module "aci_access_port_block" {
source = "./modules/aci/d/aci_access_port_block"
# access_port_selector_dn - (required) is a type of string
access_port_selector_dn = null
# annotation - (optional) is a type of string
annotation = null
# description - (optional) is a type of string
description = null
# from_card - (optional) is a type of string
from_card = null
# from_port - (optional) is a type of string
from_port = null
# name - (required) is a type of string
name = null
# name_alias - (optional) is a type of string
name_alias = null
# to_card - (optional) is a type of string
to_card = null
# to_port - (optional) is a type of string
to_port = null
}
top
variable "access_port_selector_dn" {
description = "(required)"
type = string
}
variable "annotation" {
description = "(optional)"
type = string
default = null
}
variable "description" {
description = "(optional)"
type = string
default = null
}
variable "from_card" {
description = "(optional)"
type = string
default = null
}
variable "from_port" {
description = "(optional)"
type = string
default = null
}
variable "name" {
description = "(required)"
type = string
}
variable "name_alias" {
description = "(optional)"
type = string
default = null
}
variable "to_card" {
description = "(optional)"
type = string
default = null
}
variable "to_port" {
description = "(optional)"
type = string
default = null
}
top
data "aci_access_port_block" "this" {
# access_port_selector_dn - (required) is a type of string
access_port_selector_dn = var.access_port_selector_dn
# annotation - (optional) is a type of string
annotation = var.annotation
# description - (optional) is a type of string
description = var.description
# from_card - (optional) is a type of string
from_card = var.from_card
# from_port - (optional) is a type of string
from_port = var.from_port
# name - (required) is a type of string
name = var.name
# name_alias - (optional) is a type of string
name_alias = var.name_alias
# to_card - (optional) is a type of string
to_card = var.to_card
# to_port - (optional) is a type of string
to_port = var.to_port
}
top
output "description" {
description = "returns a string"
value = data.aci_access_port_block.this.description
}
output "from_card" {
description = "returns a string"
value = data.aci_access_port_block.this.from_card
}
output "from_port" {
description = "returns a string"
value = data.aci_access_port_block.this.from_port
}
output "id" {
description = "returns a string"
value = data.aci_access_port_block.this.id
}
output "name_alias" {
description = "returns a string"
value = data.aci_access_port_block.this.name_alias
}
output "to_card" {
description = "returns a string"
value = data.aci_access_port_block.this.to_card
}
output "to_port" {
description = "returns a string"
value = data.aci_access_port_block.this.to_port
}
output "this" {
value = aci_access_port_block.this
}
top