Skip to content

Latest commit

 

History

History
60 lines (42 loc) · 1.06 KB

README.md

File metadata and controls

60 lines (42 loc) · 1.06 KB

Cisco Live US 2024 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