Skip to content

Client Error when configuring VLAN with IPv6. #121

@jorgeml

Description

@jorgeml

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions