Hi all,
We are trying to automate the provisioning of BYOC trunks for our Sydney region using Terraform. The deployment pipeline works for standard resources, but it hangs indefinitely when creating genesyscloud_routing_trunk_pstn resources.
Environment:
- Provider:
genesyscloud/genesyscloudv2.35.0 - Region:
au(Sydney) - Terraform: v1.5.7
Issue:
Terraform applies the resource, but the plan/apply step never completes. The CLI shows Still creating... for over 15 minutes. Eventually, the GitHub Actions runner times out. When I check the Genesys Cloud Admin UI, the trunk exists but is in a PENDING state. It seems the Terraform provider is waiting for an async provisioning job to finish, but that job is stuck or not triggering correctly for our tenant.
Debug Log Snippet:
2024-05-20T10:15:30.000Z [DEBUG] Still creating...
2024-05-20T10:15:35.000Z [DEBUG] Waiting for state to become: [success]
2024-05-20T10:15:40.000Z [DEBUG] Read resource genesyscloud_routing_trunk_pstn... status: PENDING
Terraform Config:
resource "genesyscloud_routing_trunk_pstn" "byoc_trunk" {
name = "Sydney-BYOC-01"
description = "Managed BYOC Trunk"
enabled = true
sip_trunk {
type = "PSTN"
# ... other config
}
}
Is this a known issue with the au region or the provider version? We tried adding timeouts block, but it did not help. Any insights on how to force the state update or trigger the provisioning manually via API so Terraform can proceed?