Genesys Cloud - Developer Community!

 View Only

Sign Up

Terraform Export Flow Does Not Include Secure Data Actions in GenesysCloud_Integration

  • 1.  Terraform Export Flow Does Not Include Secure Data Actions in GenesysCloud_Integration

    Posted 08-21-2025 16:06

    Hello! 

    My team and I are new to Genesys Cloud CX as code and we are trying to create a process to migrate some objects from one org to another. We are currently in the process of migrating a flow which is a secure call flow and uses several secure data actions. We want to migrate the flow and all its dependencies so that the flow can be easily uploaded to our new org.  We thought that enabling the "enable_dependency_resolution" flag and turning off the "use_legacy_architect_flow_exporter" flag would result in the flow being exported correctly. However, upon doing so, we are missing the genesyscloud_integration.tf and related integration .tf files. When we export a non-secure flow, we receive the related integration.tf files. 

    Our question is: Is this intended? Should you not be able to export secure flows? Or is there some other process for exporting them? Below is an example of our main.tf file.

    Thank you,

    Skyler Keough

    resource "genesyscloud_tf_export" "snapshot_export" {

      directory             = local.snapshot_export_directory
      export_format         = "hcl"
      compress              = false
      log_permission_errors = true
      include_filter_resources = [
        "genesyscloud_flow::SECURECALL_MyFlowHere",
      ]
      include_state_file                 = true
      split_files_by_resource            = true
      enable_dependency_resolution       = true
      use_legacy_architect_flow_exporter = false

    #Architect
    #CXasCode

    ------------------------------
    Skyler Keough
    ------------------------------