Skip to content

netascode/BRKDCN-2673-Demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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