BYOC Edge Config 400 - Invalid JSON Payload via Terraform

Struggling to figure out why genesyscloud_byoc_edge fails during apply.

Pushing HCL returns 400 Bad Request with Invalid edge configuration payload. JSON matches OpenAPI spec.

Context:

Terraform v1.9.8
Provider v1.65.0
Region: ap-southeast-2

HCL snippet:

resource “genesyscloud_byoc_edge” “this” {
name = “prod-edge-01”
domain = “edge.example.com

edge_settings {
sip_enabled = true
media_enabled = true
}
}

Error output:

Error: 400 Bad Request
Message: Invalid edge configuration payload

Verified JSON via CLI:

genesis cloud byoc:edge:read

Response matches expected structure. No syntax errors in HCL. Provider accepts other resources (SIP trunks, users) without issue. Only BYOC edge resources fail with this specific error.

Tried:

  • Removing/re-adding resource
  • Updating provider to v1.66.0 (same result)
  • Validating JSON against OpenAPI spec
  • Checking API logs (no additional details)

Any ideas? This blocks our production deployment pipeline.