Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[UX2.0] sdwan_transport_management_vpn_profile_parcel fails when ipv6 route next hop does not specify administrative_distance #284

Open
tzarski0 opened this issue Jul 9, 2024 · 0 comments
Assignees

Comments

@tzarski0
Copy link
Collaborator

tzarski0 commented Jul 9, 2024

If you configure sdwan_transport_management_vpn_profile_parcel with ipv6 route without explicitly specifying admin distance:

resource "sdwan_transport_management_vpn_profile_parcel" "example" {
  name                       = "Example"
  description                = "My Example"
  feature_profile_id         = "f6dd22c8-0b4f-496c-9a0b-6813d1f8b8ac"
  ipv6_static_routes = [
    {
      prefix = "2002::/16"
      next_hops = [
        {
          address                 = "2001:0:0:1::1"
        }
      ]
    }
  ]
}

it fails with:

│ Failed to configure object (PUT), got error: HTTP Request failed: StatusCode 400,
│ {"error":{"message":"Invalid Json Payload
│ Input","code":"SCHVALID0001","details":"{\"Validation Errors\":{\"Required But Missing
│ Attributes\":[\"data.ipv6Route[0].oneOfIpRoute.nat\",\"data.ipv6Route[0].oneOfIpRoute.nextHopContainer.nextHop[0].distance\",\"data.ipv6Route[0].oneOfIpRoute.null0\"],\"Not
│ Defined In Schema
│ Attributes\":[\"data.ipv6Route[2].oneOfIpRoute.nextHopContainer\"]}}","type":"error"}}
╵
@seconroy seconroy self-assigned this Aug 13, 2024
seconroy added a commit to seconroy/terraform-provider-sdwan that referenced this issue Aug 13, 2024
seconroy added a commit to seconroy/terraform-provider-sdwan that referenced this issue Aug 13, 2024
danischm pushed a commit that referenced this issue Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants