Files
eqt-network-meraki/sites/BCN01-LAB/main.tf
T
Jose MartinezandClaude Sonnet 4.6 9b86ba97af feat: add 802.1X switch access policy support
- Add meraki_switch_access_policy resource to module (multi-auth, critical VLAN)
- Add meraki_switch_port resource for per-port policy assignment
- Add switch_access_policies and switch_port_configs variables to module and site
- Create switch.auto.tfvars for BCN01-LAB with 802.1X-CORPO policy
  (RADIUS: 15.15.15.15:1912, critical VLAN: 100, host_mode: Multi-Auth)
- switch_port_configs starts empty; add serial + port_id to assign policy to ports

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-18 11:01:55 +01:00

35 lines
934 B
Terraform
Executable File

# Configuración de Terraform y Provider
terraform {
required_version = ">= 1.5.0"
required_providers {
meraki = {
source = "CiscoDevNet/meraki"
version = "1.9.0"
}
}
backend "s3" {
bucket = "eqt-terraform-state-629066559706-us-east-1-an"
key = "BCN01-LAB/terraform.tfstate"
region = "us-east-1"
dynamodb_table = "terraform-locks"
encrypt = true
}
}
provider "meraki" {}
# Llamada al módulo meraki-site
module "bcn01_lab" {
source = "../../modules/meraki-site"
organization_name = var.organization_name
network_name = var.network_name
switch_vlans = var.switch_vlans
firewall_rules = var.firewall_rules
wireless_ssids = var.wireless_ssids
radius_secret = var.radius_secret
switch_access_policies = var.switch_access_policies
switch_port_configs = var.switch_port_configs
}