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/r/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
  # relation_vz_rs_any_to_cons - (optional) is a type of set of string
  relation_vz_rs_any_to_cons = []
  # relation_vz_rs_any_to_cons_if - (optional) is a type of set of string
  relation_vz_rs_any_to_cons_if = []
  # relation_vz_rs_any_to_prov - (optional) is a type of set of string
  relation_vz_rs_any_to_prov = []
  # 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 "relation_vz_rs_any_to_cons" {
  description = "(optional)"
  type        = set(string)
  default     = null
}

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

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

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

top

Resource

resource "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
  # relation_vz_rs_any_to_cons - (optional) is a type of set of string
  relation_vz_rs_any_to_cons = var.relation_vz_rs_any_to_cons
  # relation_vz_rs_any_to_cons_if - (optional) is a type of set of string
  relation_vz_rs_any_to_cons_if = var.relation_vz_rs_any_to_cons_if
  # relation_vz_rs_any_to_prov - (optional) is a type of set of string
  relation_vz_rs_any_to_prov = var.relation_vz_rs_any_to_prov
  # vrf_dn - (required) is a type of string
  vrf_dn = var.vrf_dn
}

top

Outputs

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

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

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

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

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

output "this" {
  value = aci_any.this
}

top