Skip to content
This repository has been archived by the owner on Jan 12, 2024. It is now read-only.

netascode/terraform-aci-access-leaf-switch-profile

Tests

This module is no longer maintained as it has been integrated into the nac-aci module.

Terraform ACI Access Leaf Switch Profile Module

Manages ACI Access Leaf Switch Profile

Location in GUI: Fabric » Access Policies » Switches » Leaf Switches » Profiles

Examples

module "aci_access_leaf_switch_profile" {
  source  = "netascode/access-leaf-switch-profile/aci"
  version = ">= 0.2.0"

  name               = "LEAF101"
  interface_profiles = ["PROF1"]
  selectors = [{
    name         = "SEL1"
    policy_group = "POL1"
    node_blocks = [{
      name = "BLOCK1"
      from = 101
      to   = 101
    }]
  }]
}

Requirements

Name Version
terraform >= 1.3.0
aci >= 2.0.0

Providers

Name Version
aci >= 2.0.0

Inputs

Name Description Type Default Required
name Leaf switch profile name. string n/a yes
interface_profiles List of interface profile names. list(string) [] no
selectors List of selectors. Allowed values from: 1-4000. Allowed values to: 1-4000.
list(object({
name = string
policy_group = optional(string)
node_blocks = list(object({
name = string
from = number
to = optional(number)
}))
}))
[] no

Outputs

Name Description
dn Distinguished name of infraNodeP object.
name Leaf switch profile name.

Resources

Name Type
aci_rest_managed.infraLeafS resource
aci_rest_managed.infraNodeBlk resource
aci_rest_managed.infraNodeP resource
aci_rest_managed.infraRsAccNodePGrp resource
aci_rest_managed.infraRsAccPortP resource