Can’t quite understand why the trunk registration state oscillates between REGISTERED and UNREGISTERED every 30 seconds after applying the latest module.
Environment:
- Genesys Cloud API: v2
- Terraform Provider: genesyscloud/genesyscloud v1.12.0
- Region: AP-Southeast-2 (Sydney)
- Module: custom_sip_trunk_v2
The genesyscloud_telephony_providers_edges_trunk resource applies successfully without drift. However, the CLI output shows immediate flapping:
$ genesyscloud telephony providers edges trunk list
ID: trunk-12345
Status: REGISTERED -> UNREGISTERED (30s interval)
The HCL configuration is standard for BYOC:
resource "genesyscloud_telephony_providers_edges_trunk" "main" {
name = "prod-sip-trunk"
enabled = true
outbound_enabled = true
sip_domains = ["sip.provider.com"]
ip_addresses {
address = "203.0.113.10"
type = "PRIMARY"
}
}
Logs indicate no authentication errors. The registration timeout seems to be ignored by the provider. Is this a known issue with the v1.12.0 provider in the Sydney region, or is there a specific registration_timeout attribute missing in the HCL that forces this cycle?