Genesys Cloud - Developer Community!

 View Only

Sign Up

genesyscloud_integration de-activates the Integration even with intended_state "ENABLED"

  • 1.  genesyscloud_integration de-activates the Integration even with intended_state "ENABLED"

    Posted 04-11-2025 13:16

    Description:

    When changing eventSourceSuffix through TF, Integration gets disabled (Inactive) by the TF update, even with intended_state = "ENABLED"

    Sample configuration:

    resource "genesyscloud_integration" "test-cexqualityassurance" {
      intended_state   = "ENABLED"
      integration_type = "amazon-eventbridge-source"
      config {
        name = "test-cexqualityassurance"
        properties = jsonencode({
          "eventSourceSuffix" : "----xxxx----",
          "awsAccountId" : "---xxxx---",
          "eventFilter" : ["v2.detail.events.conversation.{id}.acw",
                                "v2.detail.events.conversation.{id}.acd.start",
                                "v2.detail.events.conversation.{id}.acd.end",
                                "v2.detail.events.conversation.{id}.user.start",
                                "v2.detail.events.conversation.{id}.attributes",
                                "v2.analytics.conversation.{id}.metrics",
                                "v2.outbound.contactlists.{id}",
                                "v2.outbound.campaigns.{id}.progress",
                                "v2.outbound.campaigns.{id}.stats",
                                "v2.analytics.queues.{id}.observations",
                                "v2.outbound.campaigns.{id}"] 
          "awsAccountRegion" : "----xxx----"
        })
        advanced = jsonencode({})
        notes    = "AWS EventBridge Integration"
      }
    }

    Regards,

    Rohit S


    #CXasCode

    ------------------------------
    Rohit Sharma
    ------------------------------