fix: remove unsupported interfaces_wan1_enabled from device_management_interface
El campo no está expuesto en el provider CiscoDevNet/meraki v1.9.0. Solo se usan los campos de IP estática soportados por el recurso. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
4a2eeb6c17
commit
c171ebee5f
@@ -193,7 +193,6 @@ resource "meraki_device_management_interface" "mx_wan" {
|
|||||||
for_each = { for mx in var.mx_wan_uplinks : mx.name => mx }
|
for_each = { for mx in var.mx_wan_uplinks : mx.name => mx }
|
||||||
|
|
||||||
serial = local.device_serials[each.key]
|
serial = local.device_serials[each.key]
|
||||||
interfaces_wan1_enabled = each.value.interfaces_wan1_enabled
|
|
||||||
wan1_static_ip = each.value.wan1_static_ip
|
wan1_static_ip = each.value.wan1_static_ip
|
||||||
wan1_static_subnet_mask = each.value.wan1_static_subnet_mask
|
wan1_static_subnet_mask = each.value.wan1_static_subnet_mask
|
||||||
wan1_static_gateway_ip = each.value.wan1_static_gateway_ip
|
wan1_static_gateway_ip = each.value.wan1_static_gateway_ip
|
||||||
|
|||||||
@@ -188,7 +188,6 @@ variable "stack_routing_interfaces" {
|
|||||||
variable "mx_wan_uplinks" {
|
variable "mx_wan_uplinks" {
|
||||||
type = list(object({
|
type = list(object({
|
||||||
name = string # Nombre del dispositivo en el Dashboard
|
name = string # Nombre del dispositivo en el Dashboard
|
||||||
interfaces_wan1_enabled = optional(bool, true)
|
|
||||||
wan1_static_ip = optional(string, null)
|
wan1_static_ip = optional(string, null)
|
||||||
wan1_static_subnet_mask = optional(string, null)
|
wan1_static_subnet_mask = optional(string, null)
|
||||||
wan1_static_gateway_ip = optional(string, null)
|
wan1_static_gateway_ip = optional(string, null)
|
||||||
|
|||||||
@@ -198,7 +198,6 @@ variable "mx_warm_spare" {
|
|||||||
variable "mx_wan_uplinks" {
|
variable "mx_wan_uplinks" {
|
||||||
type = list(object({
|
type = list(object({
|
||||||
name = string # Nombre del dispositivo en el Dashboard
|
name = string # Nombre del dispositivo en el Dashboard
|
||||||
interfaces_wan1_enabled = optional(bool, true)
|
|
||||||
wan1_static_ip = optional(string, null)
|
wan1_static_ip = optional(string, null)
|
||||||
wan1_static_subnet_mask = optional(string, null)
|
wan1_static_subnet_mask = optional(string, null)
|
||||||
wan1_static_gateway_ip = optional(string, null)
|
wan1_static_gateway_ip = optional(string, null)
|
||||||
|
|||||||
@@ -15,7 +15,6 @@ mx_wan_uplinks = [
|
|||||||
{
|
{
|
||||||
# MX Primary
|
# MX Primary
|
||||||
name = "BCN01-F04-MX01" # TODO: ajustar al nombre real en el Dashboard
|
name = "BCN01-F04-MX01" # TODO: ajustar al nombre real en el Dashboard
|
||||||
interfaces_wan1_enabled = true
|
|
||||||
wan1_static_ip = "213.229.159.145"
|
wan1_static_ip = "213.229.159.145"
|
||||||
wan1_static_subnet_mask = "255.255.255.240" # /28
|
wan1_static_subnet_mask = "255.255.255.240" # /28
|
||||||
wan1_static_gateway_ip = "213.229.159.147"
|
wan1_static_gateway_ip = "213.229.159.147"
|
||||||
@@ -24,7 +23,6 @@ mx_wan_uplinks = [
|
|||||||
{
|
{
|
||||||
# MX Spare (Warm Spare / HA)
|
# MX Spare (Warm Spare / HA)
|
||||||
name = "BCN01-F04-MX02" # TODO: ajustar al nombre real en el Dashboard
|
name = "BCN01-F04-MX02" # TODO: ajustar al nombre real en el Dashboard
|
||||||
interfaces_wan1_enabled = true
|
|
||||||
wan1_static_ip = "213.229.159.146"
|
wan1_static_ip = "213.229.159.146"
|
||||||
wan1_static_subnet_mask = "255.255.255.240" # /28
|
wan1_static_subnet_mask = "255.255.255.240" # /28
|
||||||
wan1_static_gateway_ip = "213.229.159.147"
|
wan1_static_gateway_ip = "213.229.159.147"
|
||||||
|
|||||||
Reference in New Issue
Block a user