back
terraform {
required_providers {
aci = ">= 0.5.4"
}
}
top
module "aci_vsan_pool" {
source = "./modules/aci/r/aci_vsan_pool"
# alloc_mode - (required) is a type of string
alloc_mode = null
# annotation - (optional) is a type of string
annotation = null
# description - (optional) is a type of string
description = null
# name - (required) is a type of string
name = null
# name_alias - (optional) is a type of string
name_alias = null
}
top
variable "alloc_mode" {
description = "(required)"
type = string
}
variable "annotation" {
description = "(optional)"
type = string
default = null
}
variable "description" {
description = "(optional)"
type = string
default = null
}
variable "name" {
description = "(required)"
type = string
}
variable "name_alias" {
description = "(optional)"
type = string
default = null
}
top
resource "aci_vsan_pool" "this" {
# alloc_mode - (required) is a type of string
alloc_mode = var.alloc_mode
# annotation - (optional) is a type of string
annotation = var.annotation
# description - (optional) is a type of string
description = var.description
# name - (required) is a type of string
name = var.name
# name_alias - (optional) is a type of string
name_alias = var.name_alias
}
top
output "description" {
description = "returns a string"
value = aci_vsan_pool.this.description
}
output "id" {
description = "returns a string"
value = aci_vsan_pool.this.id
}
output "name_alias" {
description = "returns a string"
value = aci_vsan_pool.this.name_alias
}
output "this" {
value = aci_vsan_pool.this
}
top