tfwriter

Terraform HCL code generator.

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

aci_any

back

Index

Terraform

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

top

Example Usage

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

  # annotation - (optional) is a type of string
  annotation = null
  # description - (optional) is a type of string
  description = null
  # match_t - (optional) is a type of string
  match_t = null
  # name_alias - (optional) is a type of string
  name_alias = null
  # pref_gr_memb - (optional) is a type of string
  pref_gr_memb = null
  # vrf_dn - (required) is a type of string
  vrf_dn = null
}

top

Variables

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

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

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

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

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

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

top

Datasource

data "aci_any" "this" {
  # annotation - (optional) is a type of string
  annotation = var.annotation
  # description - (optional) is a type of string
  description = var.description
  # match_t - (optional) is a type of string
  match_t = var.match_t
  # name_alias - (optional) is a type of string
  name_alias = var.name_alias
  # pref_gr_memb - (optional) is a type of string
  pref_gr_memb = var.pref_gr_memb
  # vrf_dn - (required) is a type of string
  vrf_dn = var.vrf_dn
}

top

Outputs

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

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

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

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

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

output "this" {
  value = aci_any.this
}

top