A Terraform module to configure Cisco Catalyst Center.
This module supports an inventory driven approach, where a complete Catalyst Center configuration or parts of it are either modeled in one or more YAML files or natively using Terraform variables.
Configuring an area under Design -> Network Hierarchy using YAML:
---
catalyst_center:
sites:
areas:
- name: Site1
parent_name: Globalmodule "catalystcenter" {
source = "netascode/nac-catalystcenter/catalystcenter"
version = "0.2.0"
yaml_files = ["area.yaml"]
}| Name | Version |
|---|---|
| terraform | >= 1.8.0 |
| catalystcenter | >= 0.4.3 |
| local | >= 2.3.0 |
| time | >= 0.12.1 |
| utils | >= 1.0.0 |
| Name | Description | Type | Default | Required |
|---|---|---|---|---|
| manage_global_settings | Flag indicating whether global settings should be managed, used in combination with managed_sites. | bool |
false |
no |
| manage_specific_sites_only | If true, manage only the specified site listed in managed_sites. If false, also manage all child sites under each managed site. | bool |
false |
no |
| managed_sites | List of sites to be managed. By default all sites will be managed. | list(string) |
[] |
no |
| model | As an alternative to YAML files, a native Terraform data structure can be provided as well. | map(any) |
{} |
no |
| templates_directories | List of paths to templates directories. | list(string) |
[] |
no |
| use_bulk_api | Flag indicating whether to use the bulk API for faster operations. | bool |
false |
no |
| write_default_values_file | Write all default values to a YAML file. Value is a path pointing to the file to be created. | string |
"" |
no |
| yaml_directories | List of paths to YAML directories. | list(string) |
[] |
no |
| yaml_files | List of paths to YAML files. | list(string) |
[] |
no |
| Name | Description |
|---|---|
| default_values | All default values. |
| model | Full model. |
| sites | List of sites to be managed |
No modules.