-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
I get the following error when configuring a VLAN:
│ Error: Client Error
│
│ with meraki_appliance_vlan.network1_vlan2,
│ on meraki.tf line 304, in resource "meraki_appliance_vlan" "network1_vlan2":
│ 304: resource "meraki_appliance_vlan" "network1_vlan2" {
│
│ Failed to configure object (PUT), got error: HTTP Request failed: StatusCode
│ 400, JSON error: ["Please specify if prefix assignment should be
│ disabled","Please specify if prefix assignment should be disabled","Please
│ specify if prefix assignment should be disabled"], {"errors":["Please specify
│ if prefix assignment should be disabled","Please specify if prefix assignment
│ should be disabled","Please specify if prefix assignment should be
│ disabled"]}
The offending configuration snippet seems to be:
ipv6_enabled = true
ipv6_prefix_assignments = [
{
autonomous = true
origin_interfaces = [
"wan1",
]
origin_type = "internet"
},
{
autonomous = true
origin_interfaces = [
"wan2",
]
origin_type = "internet"
},
{
autonomous = true
origin_type = "independent"
},
]
If I disable IPv6 but leave the ipv6_prefix_assignments configuration in, I get a different error:
│ Error: Client Error
│
│ with meraki_appliance_vlan.network1_vlan2,
│ on meraki.tf line 304, in resource "meraki_appliance_vlan" "network1_vlan2":
│ 304: resource "meraki_appliance_vlan" "network1_vlan2" {
│
│ Failed to configure object (PUT), got error: HTTP Request failed: StatusCode
│ 400, JSON error: ["Can't set static prefix assignments if IPv6 is not enabled
│ on the VLAN"], {"errors":["Can't set static prefix assignments if IPv6 is not
│ enabled on the VLAN"]}
╵
Metadata
Metadata
Assignees
Labels
No labels