https://github.com/netascode/terrafrom-nxos-route-map
Terraform Cisco NX-OS Route-Map Module
https://github.com/netascode/terrafrom-nxos-route-map
Last synced: 3 months ago
JSON representation
Terraform Cisco NX-OS Route-Map Module
- Host: GitHub
- URL: https://github.com/netascode/terrafrom-nxos-route-map
- Owner: netascode
- License: apache-2.0
- Created: 2023-05-18T15:49:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-02-10T12:05:04.000Z (over 1 year ago)
- Last Synced: 2025-01-14T14:14:06.508Z (4 months ago)
- Language: HCL
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/netascode/terraform-nxos-scaffolding/actions/workflows/test.yml)
# Terraform NXOS Scaffolding Module
Description
Model Documentation: [Link](https://developer.cisco.com/docs/cisco-nexus-3000-and-9000-series-nx-api-rest-sdk-user-guide-and-api-reference-release-9-3x/#!configuring-an-ethernet-interface)
## Examples
```hcl
module "nxos_scaffolding" {
source = "netascode/scaffolding/nxos"
version = ">= 0.0.1"id = "eth1/10"
description = "My Description"
mode = "trunk"
}
```## Requirements
| Name | Version |
|------|---------|
| [terraform](#requirement\_terraform) | >= 1.0.0 |
| [nxos](#requirement\_nxos) | >= 0.1.0 |## Providers
| Name | Version |
|------|---------|
| [nxos](#provider\_nxos) | >= 0.1.0 |## Inputs
| Name | Description | Type | Default | Required |
|------|-------------|------|---------|:--------:|
| [id](#input\_id) | Interface ID. Must match first field in the output of `show intf brief`. Example: `eth1/1`. | `string` | n/a | yes |
| [description](#input\_description) | Interface description. | `string` | `""` | no |
| [mode](#input\_mode) | Interface mode. Choices: `access`, `trunk`, `fex-fabric`, `dot1q-tunnel`, `promiscuous`, `host`, `trunk_secondary`, `trunk_promiscuous`, `vntag`. | `string` | `"access"` | no |## Outputs
| Name | Description |
|------|-------------|
| [dn](#output\_dn) | Distinguished name of `l1PhysIf` object. |
| [id](#output\_id) | Interface ID. |## Resources
| Name | Type |
|------|------|
| [nxos_rest.l1PhysIf](https://registry.terraform.io/providers/netascode/nxos/latest/docs/resources/rest) | resource |