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: Global
module "catalystcenter" {
source = "netascode/nac-catalystcenter/catalystcenter"
version = ">= 0.1.0"
yaml_files = ["area.yaml"]
}
Name | Version |
---|---|
terraform | >= 1.8.0 |
catalystcenter | >= 0.1.18 |
local | >= 2.3.0 |
time | >= 0.12.1 |
utils | >= 0.2.6 |
Name | Description | Type | Default | Required |
---|---|---|---|---|
model | As an alternative to YAML files, a native Terraform data structure can be provided as well. | map(any) |
{} |
no |
template_directories | List of paths to templates directories. | list(string) |
[] |
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. |
No modules.