CX as Code - Dialogflow Agent Integration Failure

The Terraform apply is failing during the promotion of the integration settings. It’s returning a 400 error during the call to /api/v2/integrations/speech/dialogflowcx/agents.

resource "genesyscloud_dialogflow_cx_agent" "prod_agent" {
 name = "Customer_Service_CX"
 agent_id = "a1b2c3d4-e5f6-7g8h-i9j0"
}

The error payload isn’t very clear.