back
terraform {
required_providers {
aci = ">= 0.5.4"
}
}
top
module "aci_cloud_cidr_pool" {
source = "./modules/aci/d/aci_cloud_cidr_pool"
# addr - (required) is a type of string
addr = null
# annotation - (optional) is a type of string
annotation = null
# cloud_context_profile_dn - (required) is a type of string
cloud_context_profile_dn = null
# description - (optional) is a type of string
description = null
# name_alias - (optional) is a type of string
name_alias = null
# primary - (optional) is a type of string
primary = null
}
top
variable "addr" {
description = "(required)"
type = string
}
variable "annotation" {
description = "(optional)"
type = string
default = null
}
variable "cloud_context_profile_dn" {
description = "(required)"
type = string
}
variable "description" {
description = "(optional)"
type = string
default = null
}
variable "name_alias" {
description = "(optional)"
type = string
default = null
}
variable "primary" {
description = "(optional)"
type = string
default = null
}
top
data "aci_cloud_cidr_pool" "this" {
# addr - (required) is a type of string
addr = var.addr
# annotation - (optional) is a type of string
annotation = var.annotation
# cloud_context_profile_dn - (required) is a type of string
cloud_context_profile_dn = var.cloud_context_profile_dn
# description - (optional) is a type of string
description = var.description
# name_alias - (optional) is a type of string
name_alias = var.name_alias
# primary - (optional) is a type of string
primary = var.primary
}
top
output "description" {
description = "returns a string"
value = data.aci_cloud_cidr_pool.this.description
}
output "id" {
description = "returns a string"
value = data.aci_cloud_cidr_pool.this.id
}
output "name_alias" {
description = "returns a string"
value = data.aci_cloud_cidr_pool.this.name_alias
}
output "primary" {
description = "returns a string"
value = data.aci_cloud_cidr_pool.this.primary
}
output "this" {
value = aci_cloud_cidr_pool.this
}
top