netascode / BRKDCN-2673-Demo

Cisco Live EMEA 2024 BRKDCN-2673 Demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cisco Live US 2023 BRKDCN-2673 Demo

Setup

Install Terraform, and the following two Python tools:

pip install -r requirements.txt

Set environment variables pointing to APIC:

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 {
  cloud {
    organization = "CiscoLive"

    workspaces {
      name = "BRKDCN-2673-Demo"
    }
  }
}

Or remove the cloud block completely to revert to local state storage.

Initialization

terraform init

Pre-Change Validation

iac-validate ./data/

Terraform Plan/Apply

terraform apply

Testing

iac-test --data ./data --data ./defaults.yaml --templates ./tests/templates --output ./tests/results/aci

About

Cisco Live EMEA 2024 BRKDCN-2673 Demo


Languages

Language:Python 88.4%Language:RobotFramework 8.8%Language:HCL 2.8%