- Add sites/BCN01-LAB with full Meraki configuration: VLANs, SSIDs, switch ports, 802.1X policy, firewall rules, WAN uplinks and warm spare - Extend modules/meraki-site to support wan2_* fields in mx_wan_uplinks Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
39 lines
1.3 KiB
Terraform
Executable File
39 lines
1.3 KiB
Terraform
Executable File
terraform {
|
|
backend "s3" {} # Config injected via -backend-config in CI (see backend.hcl at repo root)
|
|
required_version = ">= 1.5.0"
|
|
required_providers {
|
|
meraki = {
|
|
source = "CiscoDevNet/meraki"
|
|
version = "1.9.0"
|
|
}
|
|
}
|
|
}
|
|
|
|
provider "meraki" {}
|
|
|
|
locals {
|
|
organization_name = "Adevinta Information Services SLU"
|
|
network_name = "BCN01-LAB"
|
|
}
|
|
|
|
module "bcn01_lab" {
|
|
source = "../../modules/meraki-site"
|
|
|
|
organization_name = local.organization_name
|
|
network_name = local.network_name
|
|
switch_vlans = local.switch_vlans
|
|
firewall_rules = local.firewall_rules
|
|
wireless_ssids = local.wireless_ssids
|
|
radius_secret = var.radius_secret
|
|
wifi_password_psk = var.wifi_password_psk
|
|
switch_access_policies = local.switch_access_policies
|
|
switch_port_configs = local.switch_port_configs
|
|
switch_stack_port_configs = local.switch_stack_port_configs
|
|
switch_named_port_configs = local.switch_named_port_configs
|
|
switch_management_vlan = local.switch_management_vlan
|
|
stack_routing_interfaces = local.stack_routing_interfaces
|
|
appliance_ports = local.appliance_ports
|
|
mx_wan_uplinks = local.mx_wan_uplinks
|
|
mx_warm_spare = local.mx_warm_spare
|
|
}
|