tfwriter

Terraform HCL code generator.

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

aci_node_block

back

Index

Terraform

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

top

Example Usage

module "aci_node_block" {
  source = "./modules/aci/d/aci_node_block"

  # annotation - (optional) is a type of string
  annotation = null
  # description - (optional) is a type of string
  description = null
  # from_ - (optional) is a type of string
  from_ = null
  # name - (required) is a type of string
  name = null
  # name_alias - (optional) is a type of string
  name_alias = null
  # switch_association_dn - (required) is a type of string
  switch_association_dn = null
  # to_ - (optional) is a type of string
  to_ = null
}

top

Variables

variable "annotation" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "description" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "from_" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "name" {
  description = "(required)"
  type        = string
}

variable "name_alias" {
  description = "(optional)"
  type        = string
  default     = null
}

variable "switch_association_dn" {
  description = "(required)"
  type        = string
}

variable "to_" {
  description = "(optional)"
  type        = string
  default     = null
}

top

Datasource

data "aci_node_block" "this" {
  # annotation - (optional) is a type of string
  annotation = var.annotation
  # description - (optional) is a type of string
  description = var.description
  # from_ - (optional) is a type of string
  from_ = var.from_
  # name - (required) is a type of string
  name = var.name
  # name_alias - (optional) is a type of string
  name_alias = var.name_alias
  # switch_association_dn - (required) is a type of string
  switch_association_dn = var.switch_association_dn
  # to_ - (optional) is a type of string
  to_ = var.to_
}

top

Outputs

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

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

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

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

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

output "this" {
  value = aci_node_block.this
}

top