Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/netascode/brkdcn-2673-demo
Cisco Live US 2024 BRKDCN-2673 Demo
https://github.com/netascode/brkdcn-2673-demo
brkdcn ciscolive demo iac nac nexus-as-code terraform
Last synced: 3 days ago
JSON representation
Cisco Live US 2024 BRKDCN-2673 Demo
- Host: GitHub
- URL: https://github.com/netascode/brkdcn-2673-demo
- Owner: netascode
- Created: 2023-02-06T12:30:12.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-04T16:04:46.000Z (6 months ago)
- Last Synced: 2024-06-04T18:03:52.973Z (6 months ago)
- Topics: brkdcn, ciscolive, demo, iac, nac, nexus-as-code, terraform
- Language: Python
- Homepage:
- Size: 316 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cisco Live US 2024 BRKDCN-2673 Demo
## Setup
Install [Terraform](https://www.terraform.io/downloads), and the following two Python tools:
- [iac-validate](https://github.com/netascode/iac-validate)
- [iac-test](https://github.com/netascode/iac-test)```shell
pip install -r requirements.txt
```Set environment variables pointing to APIC:
```shell
export ACI_USERNAME=admin
export ACI_PASSWORD=Cisco123
export ACI_URL=https://10.1.1.1
```Update the `cloud` block within the `terraform` configuration in `main.tf` to point to your Terraform Cloud Organization and Workspace:
```terraform
terraform {
cloud {
organization = "CiscoLive"workspaces {
name = "BRKDCN-2673-Demo"
}
}
}
```Or remove the `cloud` block completely to revert to local state storage.
## Initialization
```shell
terraform init
```## Pre-Change Validation
```shell
iac-validate ./data/
```## Terraform Plan/Apply
```shell
terraform apply
```## Testing
```shell
iac-test --data ./data --data ./defaults.yaml --templates ./tests/templates --output ./tests/results/aci
```