{"id":20324572,"url":"https://github.com/netascode/terraform-nxos-config","last_synced_at":"2026-03-05T18:41:58.864Z","repository":{"id":38365131,"uuid":"493300053","full_name":"netascode/terraform-nxos-config","owner":"netascode","description":"Terraform NX-OS Configuration Module","archived":false,"fork":false,"pushed_at":"2025-11-21T08:04:03.000Z","size":63,"stargazers_count":0,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2026-01-30T12:55:45.873Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://registry.terraform.io/modules/netascode/config/nxos/latest","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/netascode.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-05-17T15:02:22.000Z","updated_at":"2022-09-08T13:07:12.000Z","dependencies_parsed_at":"2024-02-10T13:24:15.241Z","dependency_job_id":"0c7b63f8-cf21-4948-99ec-2f3056675e11","html_url":"https://github.com/netascode/terraform-nxos-config","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/netascode/terraform-nxos-config","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fterraform-nxos-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fterraform-nxos-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fterraform-nxos-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fterraform-nxos-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/netascode","download_url":"https://codeload.github.com/netascode/terraform-nxos-config/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/netascode%2Fterraform-nxos-config/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30143620,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-05T16:58:46.102Z","status":"ssl_error","status_checked_at":"2026-03-05T16:58:45.706Z","response_time":93,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-14T19:34:33.298Z","updated_at":"2026-03-05T18:41:58.821Z","avatar_url":"https://github.com/netascode.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- BEGIN_TF_DOCS --\u003e\n[![Tests](https://github.com/netascode/terraform-nxos-config/actions/workflows/test.yml/badge.svg)](https://github.com/netascode/terraform-nxos-config/actions/workflows/test.yml)\n\n# Terraform NX-OS Configuration Module\n\nThis module can manage a Cisco Nexus 9000 configuration. [terraform-nxos-config-validation](https://github.com/netascode/terraform-nxos-config-validation) repository can be used for syntactic and semantic validation of YAML model for this module.\n\n## Examples\n\n```hcl\n\nlocals {\n  model_string = file(\"${path.module}/nxos_model.yaml\")\n  model        = yamldecode(local.model_string)\n}\n\nmodule \"nxos_config\" {\n  source  = \"netascode/config/nxos\"\n  version = \"\u003e= 0.1.0\"\n\n  model = local.model\n}\n```\n\nExample of `nxos_model.yaml` file\n\n```yaml\nhostname: 'site-1-leaf-1'\nfeatures:\n  - ospf\n  - bgp\n  - interface_vlan\n  - vn_segment\n  - evpn\n  - nv_overlay\nfabric_forwarding:\n  anycast_gateway_mac: '20:20:00:00:10:12'\n  anycast_gateway_vlans:\n    - 101\n    - 102\nevpn:\n  vnis:\n    - vni: 101\n      route_distinguisher: auto\n      route_target_both_auto: true\n    - vni: 102\n      route_distinguisher: auto\n      route_target_both_auto: true\nospf:\n  - name: underlay\n    vrfs:\n      - vrf: default\n        router_id: 172.16.1.1\n        bandwidth_reference: 1000\n        banwidth_reference_unit: gbps\n        interfaces:\n          - interface: eth1/49\n            area: 0.0.0.0\n            network_type: p2p\n          - interface: eth1/50\n            area: 0.0.0.0\n            network_type: p2p\nbgp:\n  asn: 65001\n  enhanced_error_handling: false\n  template_peers:\n    - name: SPINE-PEERS\n      asn: 65001\n      description: Spine Peers template\n      source_interface: lo0\n      address_families:\n        - address_family: 'l2vpn_evpn'\n          send_community_standard: true\n          send_community_extended: true\n  vrfs:\n    - vrf: default\n      router_id: 172.16.1.1\n      log_neighbor_changes: true\n      graceful_restart_stalepath_time: 600\n      neighbors:\n        - ip: 172.16.1.201\n          description: site-1-spine-1\n          inherit_peer: SPINE-PEERS\n        - ip: 172.16.1.202\n          description: site-1-spine-2\n          inherit_peer: SPINE-PEERS\n    - vrf: TENANT-1\n      router_id: 172.16.1.1\n      log_neighbor_changes: true\n      graceful_restart_stalepath_time: 600\n      neighbors:\n        - ip: 100.1.1.1\n          description: External peer\n          asn: 65010\n          address_families:\n            - address_family: 'ipv4_unicast'\n              send_community_standard: true\n              send_community_extended: true\nvrfs:\n  - name: default\n  - name: TENANT-1\n    vni: 3901\n    route_distinguisher: auto\n    address_families:\n      - address_family: 'ipv4_unicast'\n        route_target_both_auto: true\n        route_target_both_auto_evpn: true\ninterfaces_ethernet:\n  - id: '1/49'\n    description: 'uplink 1'\n    layer3: true\n    link_debounce_down: 0\n    mtu: 9000\n    ipv4_address: '192.168.1.0/31'\n    urpf: 'loose'\n  - id: '1/50'\n    description: 'uplink 2'\n    layer3: true\n    link_debounce_down: 0\n    mtu: 9000\n    ipv4_address: '192.168.1.2/31'\n  - id: '1/51'\n    description: 'uplink 3'\n    layer3: true\n    link_debounce_down: 0\n    mtu: 9000\n    ipv4_address: '192.168.1.4/31'\n  - id: '1/52'\n    description: 'uplink 4'\n    layer3: true\n    link_debounce_down: 0\n    mtu: 9000\n    ipv4_address: '192.168.1.6/31'\n  - id: '1/48'\n    description: 'link to load balancer'\n    layer3: true\n    link_debounce_down: 0\n    mtu: 9000\n    ipv4_address: 100.1.1.0/31\n    vrf: TENANT-1\ninterfaces_loopback:\n  - id: 0\n    description: BGP peering\n    ipv4_address: 172.16.1.1/32\n  - id: 1\n    description: NVE interface\n    ipv4_address: 172.17.1.1/32\ninterfaces_vlan:\n  - id: 3900\n    admin_state: false\n    description: OSPF backup link via peer-link\n    mtu: 9216\n    ipv4_address: '192.168.1.8/31'\n  - id: 3901\n    description: L3VNI for vrf TENANT-1\n    vrf: TENANT-1\n    mtu: 9216\n    ip_forward: true\n  - id: 101\n    description: 'Site-local VLAN'\n    vrf: TENANT-1\n    mtu: 9216\n    ipv4_address: '10.1.0.1/24'\n  - id: 102\n    description: 'Stretched VLAN'\n    vrf: TENANT-1\n    mtu: 9216\n    ipv4_address: '10.12.0.1/24'\ninterface_nve:\n  admin_state: true\n  hold_down_time: 300\n  host_reachability_protocol: bgp\n  ingress_replication_protocol_bgp: true\n  source_interface: 'lo0'\n  vnis:\n    - vni: 101\n    - vni: 102\n    - vni: 3901\n      associate_vrf: true\nvlans:\n  - id: 3900\n    name: L3_Backup_routing\n  - id: 3901\n    vn_segment: 3901\n  - id: 101\n    vn_segment: 101\n    name: server_vlan_site_1\n  - id: 102\n    vn_segment: 102\n    name: server_vlan_stretched\n```\n\n## Requirements\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"requirement_terraform\"\u003e\u003c/a\u003e [terraform](#requirement\\_terraform) | \u003e= 1.0.0 |\n| \u003ca name=\"requirement_nxos\"\u003e\u003c/a\u003e [nxos](#requirement\\_nxos) | \u003e= 0.5.0 |\n\n## Providers\n\n| Name | Version |\n|------|---------|\n| \u003ca name=\"provider_nxos\"\u003e\u003c/a\u003e [nxos](#provider\\_nxos) | \u003e= 0.5.0 |\n\n## Inputs\n\n| Name | Description | Type | Default | Required |\n|------|-------------|------|---------|:--------:|\n| \u003ca name=\"input_device\"\u003e\u003c/a\u003e [device](#input\\_device) | A device name from the provider configuration. | `string` | `null` | no |\n| \u003ca name=\"input_model\"\u003e\u003c/a\u003e [model](#input\\_model) | NX-OS configuration model. | `any` | n/a | yes |\n\n## Outputs\n\nNo outputs.\n\n## Modules\n\n| Name | Source | Version |\n|------|--------|---------|\n| \u003ca name=\"module_nxos_features\"\u003e\u003c/a\u003e [nxos\\_features](#module\\_nxos\\_features) | netascode/features/nxos | \u003e= 0.1.0 |\n| \u003ca name=\"module_nxos_vrf\"\u003e\u003c/a\u003e [nxos\\_vrf](#module\\_nxos\\_vrf) | netascode/vrf/nxos | \u003e= 0.1.2 |\n| \u003ca name=\"module_nxos_interface_ethernet\"\u003e\u003c/a\u003e [nxos\\_interface\\_ethernet](#module\\_nxos\\_interface\\_ethernet) | netascode/interface-ethernet/nxos | \u003e= 0.1.0 |\n| \u003ca name=\"module_nxos_interface_vlan\"\u003e\u003c/a\u003e [nxos\\_interface\\_vlan](#module\\_nxos\\_interface\\_vlan) | netascode/interface-vlan/nxos | \u003e= 0.1.0 |\n| \u003ca name=\"module_nxos_interface_loopback\"\u003e\u003c/a\u003e [nxos\\_interface\\_loopback](#module\\_nxos\\_interface\\_loopback) | netascode/interface-loopback/nxos | \u003e= 0.1.1 |\n| \u003ca name=\"module_nxos_ospf\"\u003e\u003c/a\u003e [nxos\\_ospf](#module\\_nxos\\_ospf) | netascode/ospf/nxos | \u003e= 0.1.0 |\n| \u003ca name=\"module_nxos_bgp\"\u003e\u003c/a\u003e [nxos\\_bgp](#module\\_nxos\\_bgp) | netascode/bgp/nxos | \u003e= 0.1.1 |\n| \u003ca name=\"module_nxos_fabric_forwarding\"\u003e\u003c/a\u003e [nxos\\_fabric\\_forwarding](#module\\_nxos\\_fabric\\_forwarding) | netascode/fabric-forwarding/nxos | \u003e= 0.1.0 |\n| \u003ca name=\"module_nxos_interface_nve\"\u003e\u003c/a\u003e [nxos\\_interface\\_nve](#module\\_nxos\\_interface\\_nve) | netascode/interface-nve/nxos | \u003e= 0.1.0 |\n| \u003ca name=\"module_nxos_evpn\"\u003e\u003c/a\u003e [nxos\\_evpn](#module\\_nxos\\_evpn) | netascode/evpn/nxos | \u003e= 0.1.0 |\n\n## Resources\n\n| Name | Type |\n|------|------|\n| [nxos_bridge_domain.l2BD](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/bridge_domain) | resource |\n| [nxos_system.topSystem](https://registry.terraform.io/providers/CiscoDevNet/nxos/latest/docs/resources/system) | resource |\n\u003c!-- END_TF_DOCS --\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetascode%2Fterraform-nxos-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnetascode%2Fterraform-nxos-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnetascode%2Fterraform-nxos-config/lists"}