https://github.com/netascode/terraform-nxos-scaffolding
Terraform Cisco NXOS Scaffolding Module
https://github.com/netascode/terraform-nxos-scaffolding
cisco nexus nxos terraform terraform-module
Last synced: 3 months ago
JSON representation
Terraform Cisco NXOS Scaffolding Module
- Host: GitHub
- URL: https://github.com/netascode/terraform-nxos-scaffolding
- Owner: netascode
- License: apache-2.0
- Created: 2021-09-10T08:17:48.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-02-10T12:05:16.000Z (over 1 year ago)
- Last Synced: 2025-01-14T14:14:06.783Z (4 months ago)
- Topics: cisco, nexus, nxos, terraform, terraform-module
- Language: HCL
- Homepage:
- Size: 41 KB
- Stars: 0
- Watchers: 2
- 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.5.0 |## Providers
| Name | Version |
|------|---------|
| [nxos](#provider\_nxos) | >= 0.5.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/CiscoDevNet/nxos/latest/docs/resources/rest) | resource |