Quick question about provisioning edge users via Terraform on our BYOC instance.
Applying genesyscloud_edge_user fails with 400 Bad Request. Provider v1.18.0. API endpoint /api/v2/edge/users. The JSON payload looks valid, but the API rejects it. Error response body:
{
"errors": [
{
"message": "Invalid edge user configuration. SIP URI format mismatch.",
"code": "invalid_request"
}
]
}
HCL snippet:
resource "genesyscloud_edge_user" "sip_user" {
name = "Test Agent"
email = "[email protected]"
sip_uri = "sip:[email protected]"
edge_id = var.edge_id
site_id = var.site_id
}
The SIP URI matches the expected format per documentation. Other resources in the same module apply fine. No issues with genesyscloud_edge_sip_trunk. Checked CLI output. The edge_id and site_id are correct. Verified via genesyscloud_edge_site data source.
Is there a known validation bug for SIP URIs in the latest provider? Or is this an AU-1 BYOC specific restriction? Looking for workarounds or config fixes. Timezone is Sydney. Need this resolved before next deployment window.