tfwriter

Terraform HCL code generator.

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

aci_external_network_instance_profile

back

Index

Terraform

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

top

Example Usage

module "aci_external_network_instance_profile" {
  source = "./modules/aci/r/aci_external_network_instance_profile"

  # annotation - (optional) is a type of string
  annotation = null
  # description - (optional) is a type of string
  description = null
  # exception_tag - (optional) is a type of string
  exception_tag = null
  # flood_on_encap - (optional) is a type of string
  flood_on_encap = null
  # l3_outside_dn - (required) is a type of string
  l3_outside_dn = null
  # match_t - (optional) is a type of string
  match_t = null
  # name - (required) is a type of string
  name = 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
  # prio - (optional) is a type of string
  prio = null
  # relation_fv_rs_cons - (optional) is a type of set of string
  relation_fv_rs_cons = []
  # relation_fv_rs_cons_if - (optional) is a type of set of string
  relation_fv_rs_cons_if = []
  # relation_fv_rs_cust_qos_pol - (optional) is a type of string
  relation_fv_rs_cust_qos_pol = null
  # relation_fv_rs_intra_epg - (optional) is a type of set of string
  relation_fv_rs_intra_epg = []
  # relation_fv_rs_prot_by - (optional) is a type of set of string
  relation_fv_rs_prot_by = []
  # relation_fv_rs_prov - (optional) is a type of set of string
  relation_fv_rs_prov = []
  # relation_fv_rs_sec_inherited - (optional) is a type of set of string
  relation_fv_rs_sec_inherited = []
  # relation_l3ext_rs_inst_p_to_nat_mapping_epg - (optional) is a type of string
  relation_l3ext_rs_inst_p_to_nat_mapping_epg = null
  # relation_l3ext_rs_l3_inst_p_to_dom_p - (optional) is a type of string
  relation_l3ext_rs_l3_inst_p_to_dom_p = null
  # target_dscp - (optional) is a type of string
  target_dscp = null

  relation_l3ext_rs_inst_p_to_profile = [{
    direction              = null
    tn_rtctrl_profile_name = null
  }]
}

top

Variables

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

variable "relation_l3ext_rs_inst_p_to_profile" {
  description = "nested block: NestingSet, min items: 0, max items: 0"
  type = set(object(
    {
      direction              = string
      tn_rtctrl_profile_name = string
    }
  ))
  default = []
}

top

Resource

resource "aci_external_network_instance_profile" "this" {
  # annotation - (optional) is a type of string
  annotation = var.annotation
  # description - (optional) is a type of string
  description = var.description
  # exception_tag - (optional) is a type of string
  exception_tag = var.exception_tag
  # flood_on_encap - (optional) is a type of string
  flood_on_encap = var.flood_on_encap
  # l3_outside_dn - (required) is a type of string
  l3_outside_dn = var.l3_outside_dn
  # match_t - (optional) is a type of string
  match_t = var.match_t
  # name - (required) is a type of string
  name = var.name
  # 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
  # prio - (optional) is a type of string
  prio = var.prio
  # relation_fv_rs_cons - (optional) is a type of set of string
  relation_fv_rs_cons = var.relation_fv_rs_cons
  # relation_fv_rs_cons_if - (optional) is a type of set of string
  relation_fv_rs_cons_if = var.relation_fv_rs_cons_if
  # relation_fv_rs_cust_qos_pol - (optional) is a type of string
  relation_fv_rs_cust_qos_pol = var.relation_fv_rs_cust_qos_pol
  # relation_fv_rs_intra_epg - (optional) is a type of set of string
  relation_fv_rs_intra_epg = var.relation_fv_rs_intra_epg
  # relation_fv_rs_prot_by - (optional) is a type of set of string
  relation_fv_rs_prot_by = var.relation_fv_rs_prot_by
  # relation_fv_rs_prov - (optional) is a type of set of string
  relation_fv_rs_prov = var.relation_fv_rs_prov
  # relation_fv_rs_sec_inherited - (optional) is a type of set of string
  relation_fv_rs_sec_inherited = var.relation_fv_rs_sec_inherited
  # relation_l3ext_rs_inst_p_to_nat_mapping_epg - (optional) is a type of string
  relation_l3ext_rs_inst_p_to_nat_mapping_epg = var.relation_l3ext_rs_inst_p_to_nat_mapping_epg
  # relation_l3ext_rs_l3_inst_p_to_dom_p - (optional) is a type of string
  relation_l3ext_rs_l3_inst_p_to_dom_p = var.relation_l3ext_rs_l3_inst_p_to_dom_p
  # target_dscp - (optional) is a type of string
  target_dscp = var.target_dscp

  dynamic "relation_l3ext_rs_inst_p_to_profile" {
    for_each = var.relation_l3ext_rs_inst_p_to_profile
    content {
      # direction - (required) is a type of string
      direction = relation_l3ext_rs_inst_p_to_profile.value["direction"]
      # tn_rtctrl_profile_name - (required) is a type of string
      tn_rtctrl_profile_name = relation_l3ext_rs_inst_p_to_profile.value["tn_rtctrl_profile_name"]
    }
  }

}

top

Outputs

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

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

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

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

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

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

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

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

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

output "this" {
  value = aci_external_network_instance_profile.this
}

top