tfwriter

Terraform HCL code generator.

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

aci_vsan_pool

back

Index

Terraform

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

top

Example Usage

module "aci_vsan_pool" {
  source = "./modules/aci/d/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

Variables

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

Datasource

data "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

Outputs

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

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

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

output "this" {
  value = aci_vsan_pool.this
}

top