resource “genesyscloud_outbound_campaign” “predictive_eu1” {
name = “Berlin Predictive Outreach”
description = “Automated predictive routing sequence”
enabled = true
campaign_type = “PREDICTIVE”
contact_list_id = data.genesyscloud_outbound_contact_list.main.id
wrap_up_code = “completed”
dialing_settings {
drop_rate = “0.5”
answer_grace_seconds = 5
}
}
Pipeline runs fine on staging. Promotion to EU1 prod hits a 400 during the apply step. The API response doesn’t give specifics. It’s unclear if predictive routing requires a separate queue binding or if the campaign type enum changed recently.
Ran the plan against the state file and it shows no drift. The GitHub Actions runner uses tf 1.7.2 with the provider set to 1.49.0. Console shows the contact list is fully imported and the skill groups are mapped correctly.
Checked the outbound logs. The error references a missing routing profile attribute but the docs don’t list one for predictive sequences. You’ll need to adjust the dialing settings to use a threshold config instead of drop_rate. Doing jack all on the retry logic. Pipeline hangs on the provider init step.
$ genesys cloud outbound campaigns list --name “Berlin Predictive Outreach”
Error: 400 Bad Request. The request could not be processed. Validation failed for dialing_settings.
State file locks for three minutes before timing out. Queue capacity isn’t being calculated. The environment variables for the EU1 cluster might be pointing to the wrong routing endpoint.