Skip to content

terraform-cisco-modules/terraform-aci-access

Repository files navigation

License: GPL v3 Developed by: Cisco

Terraform ACI - Access Module

A Terraform module to configure ACI Access Policies.

NOTE: THIS MODULE IS DESIGNED TO BE CONSUMED USING "EASY ACI"

A comprehensive example using this module is available below:

Requirements

Name Version
terraform >= 1.3.0
aci >= 2.13.0

Providers

Name Version
aci 2.13.0

Inputs

Name Description Type Default Required
access Access Model data. any n/a yes
access_sensitive Note: Sensitive Variables cannot be added to a for_each loop so these are added seperately.
* mcp_instance_policy_default: MisCabling Protocol Instance Settings.
- key: The key or password used to uniquely identify this configuration object.
* virtual_networking: ACI to Virtual Infrastructure Integration.
- password: Username/Password combination to Authenticate to the Virtual Infrastructure.
object({
mcp_instance_policy_default = object({
key = map(string)
})
virtual_networking = object({
password = map(string)
})
})
{
"mcp_instance_policy_default": {
"key": {}
},
"virtual_networking": {
"password": {}
}
}
no

Outputs

Name Description
interface Interface Identifiers
leaf_interfaces:
policy_groups
access: Fabric => Access Policies => Interfaces => Leaf Interfaces => Policy Groups => Leaf Access Port.
breakout: Fabric => Access Policies => Interfaces => Leaf Interfaces => Policy Groups => Leaf Breakout Port Group.
bundle: Fabric => Access Policies => Interfaces => Leaf Interfaces => Policy Groups => [ VPC Interface | VPC Interface ].
spine_interfaces:
policy_groups: Fabric => Access Policies => Interfaces => Spine Interfaces => Policy Groups
physical_and_external_domains * l3_domains - Identifiers for L3 Domains. Fabric => Access Policies => Physical and External Domains => L3 Domains.
* physical_domains - Identifiers for Physical Domains. Fabric => Access Policies => Physical and External Domains => Physical Domains.
global Global Identifiers
attachable_access_entity_profiles: Fabric => Access Policies => Policies => Global => Attachable Access Entity Profiles
dhcp_relay: Fabric => Access Policies => Policies => Global => DHCP Relay
error_disabled_recovery_policy: Fabric => Access Policies => Policies => Global => Error Disabled Recovery Profiles
mcp_instance_policy: Fabric => Access Policies => Policies => Global => MCP Instance Policy - default
qos_class: Fabric => Access Policies => Policies => Global => QoS Class
aaep_to_epgs n/a
policies Policies Identifiers
interface:
cdp_interface: Fabric => Access Policies => Policies => Interfaces => CDP Interface
fibre_channel_interface: Fabric => Access Policies => Policies => Interfaces => Fibre Channel Interface
l2_interface: Fabric => Access Policies => Policies => Interfaces => L2 Interface
link_level: Fabric => Access Policies => Policies => Interfaces => Link Level.
cdp_interface: Fabric => Access Policies => Policies => Interfaces => LLDP Interface.
cdp_interface: Fabric => Access Policies => Policies => Interfaces => Port Channel.
cdp_interface: Fabric => Access Policies => Policies => Interfaces => Port Security.
cdp_interface: Fabric => Access Policies => Policies => Interfaces => Spanning-Tree Interface.
pools Identifiers for VLAN Pools. Fabric => Access Policies => Pools => VLAN.
switches Switches Identifiers
leaf_switches:
policy_groups: Fabric => Access Policies => Switches => Leaf Switches => Policy Groups
spine_switches:
policy_groups: Fabric => Access Policies => Switches => Spine Switches => Policy Groups
virtual_networking-vmm_domains * controllers - Identifiers for VMM Controllers. Virtual Networking => {VMM Doamin} => Controllers: {controller_name}.
* credentials - Identifiers for VMM Domain Credentials. Virtual Networking => {VMM Doamin}: vCenter Credentials.
* vmm_domains - Identifiers for VMM Domains. Virtual Networking.
* vswitch_policies - Identifiers for VMM Domain Virtual Switch Policies. Virtual Networking => {VMM Doamin}: vSwitch Policy

Resources

Name Type
aci_access_generic.map resource
aci_access_switch_policy_group.map resource
aci_attachable_access_entity_profile.map resource
aci_cdp_interface_policy.map resource
aci_error_disable_recovery.map resource
aci_fabric_if_pol.map resource
aci_interface_fc_policy.map resource
aci_l2_interface_policy.map resource
aci_l3_domain_profile.map resource
aci_lacp_policy.map resource
aci_leaf_access_bundle_policy_group.map resource
aci_leaf_access_port_policy_group.map resource
aci_leaf_breakout_port_group.map resource
aci_lldp_interface_policy.map resource
aci_mcp_instance_policy.map resource
aci_miscabling_protocol_interface_policy.map resource
aci_physical_domain.map resource
aci_port_security_policy.map resource
aci_qos_instance_policy.map resource
aci_ranges.vlans resource
aci_rest_managed.cdp_interface_global_alias resource
aci_rest_managed.dhcp_relay resource
aci_rest_managed.leaf_interfaces_policy_groups_access_global_alias resource
aci_rest_managed.link_level_global_alias resource
aci_rest_managed.lldp_interface_global_alias resource
aci_rest_managed.port_channel_global_alias resource
aci_rest_managed.spanning_tree_interface_global_alias resource
aci_rest_managed.spine_interface_policy_groups_global_alias resource
aci_rest_managed.vmm_domain_uplinks resource
aci_rest_managed.vmm_ehanced_lag_policies resource
aci_rest_managed.vmm_uplinks resource
aci_rest_managed.vpc_domain_policy resource
aci_spanning_tree_interface_policy.map resource
aci_spine_port_policy_group.map resource
aci_spine_switch_policy_group.map resource
aci_vlan_pool.vlan_pools resource
aci_vmm_controller.map resource
aci_vmm_credential.map resource
aci_vmm_domain.map resource
aci_vswitch_policy.map resource