A Terraform module to configure Cisco Hyperfabric.
This module supports an inventory driven approach, where a complete Hyperfabric configuration or parts of it are either modeled in one or more YAML files or natively using Terraform variables.
Configuring a Fabric using YAML:
---
hyperfabric:
fabrics:
- name: My Fabric 01
description: My first HyperFabric
address: 170 West Tasman Dr.
city: San Jose
country: USA
location: sj01-1-101-AAA01
module "hyperfabric" {
source = "netascode/nac-hyperfabric/hyperfabric"
version = ">= 0.1.0"
yaml_files = ["fabric.yaml"]
}
Name | Version |
---|---|
terraform | >= 1.8.0 |
hyperfabric | >= 0.1.0 |
local | >= 2.3.0 |
utils | >= 0.2.5 |
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 |
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. |
Name | Type |
---|---|
hyperfabric_connection.connection | resource |
hyperfabric_fabric.fabric | resource |
hyperfabric_node.node | resource |
hyperfabric_node_loopback.node_loopback | resource |
hyperfabric_node_management_port.node_management_port | resource |
hyperfabric_node_port.node_port | resource |
hyperfabric_node_sub_interface.node_sub_interface | resource |
hyperfabric_user.user | resource |
hyperfabric_vni.vni | resource |
hyperfabric_vrf.vrf | resource |
local_sensitive_file.defaults | resource |
terraform_data.validation | resource |
No modules.