Skip to content

robertcsapo/terraform-provider-ciscoevpn

Repository files navigation

Terraform Provider Cisco EVPN

Tech Preview (Early field trial)

terraform-provider-ciscoevpn is a Terraform Provider for Cisco Catalyst 9000 Switches.

Requirements for Development

Using the provider

Use terraform init to download the plugin from Terrafrom Registry.

Configure the provider to connect towards your Cisco Catalyst 9000 Switches

terraform {
  required_providers {
    ciscoevpn = {
      source = "robertcsapo/ciscoevpn"
      version = "1.0.1"
    }
  }
}

provider "ciscoevpn" {
  username = var.username
  password = var.password
  insecure = var.insecure
  timeout  = var.timeout
  debug = false
  roles {
    spines {
      iosxe = var.iosxe_spines
    }
    borders {
      iosxe = var.iosxe_borders
    }
    leafs {
      iosxe = var.iosxe_leafs
    }
  }
}

Examples can be found in examples/.