Error 409 Conflict on POST /api/v2/boundary/edges/sydney-prod-01/registrations.
resource "genesyscloud_byoc_edge" "sydney_prod" {
name = "sydney-prod-01"
external_ip = var.edge_ip
sip_settings {
invite_timeout_seconds = 35
registration_interval = 30
}
trunk_bindings = [genesyscloud_byoc_trunk.main.id]
}
The BYOC edge rejects the new SIP trunk binding during the apply run. Provider sits at 1.87.2. State tracks the edge as active, yet the API throws a duplicate binding conflict. Old trunk was destroyed two runs ago. GitLab CI hangs on the refresh step. Drifting state isn’t the problem. Boundary service holds a ghost reference in the registration cache. Console shows the trunk detached, but the config API still lists it under active bindings. Restarting the container didn’t flush it.
Raw response points to a deprecated SIP URI format in the conflictingResource field. Terraform doesn’t expose the RFC 3261 URI override directly. Running a manual PATCH to clear the cache breaks the GitOps workflow. State import won’t fix the backend lock either.