Genesys Cloud - Developer Community

 View Only

Discussion Thread View
Expand all | Collapse all

Creating a flow using the Genesys Terraform provider: it won't publish it because of an unknown error

  • 1.  Creating a flow using the Genesys Terraform provider: it won't publish it because of an unknown error

    Posted 2 days ago
    Edited by Tonny Miousse 2 days ago

    Hi Genesys community.

    This is the first time I'm posting here because I have an issue with the Genesys terraform provider (latest version is 1.63) with a particular flow. Unfortunately, Genesys support don't support their Terraform provider it seems. They sent me here instead ;)

    Terraform provider I use: https://registry.terraform.io/providers/MyPureCloud/genesyscloud/latest

    In short, I've been using the terraform provider to deploy flows for almost a year now, but I have a problem with a particular flow: it refuses to publish it and the error message is not helpful whatsoever: 

    genesyscloud_flow.INBOUNDCALL_Test_CX: Still modifying... [id=93f82598-380d-4449-a805-d3f0e09f304c, 1m10s elapsed]
    ╷
    │ Error: flow publish failed. JobID: 98acf42a-4c7f-4ff9-8b65-04db08d89c02, no tracing messages available
    │ {"resourceType":"genesyscloud_flow","method":"GET","path":"/api/v2/flows/jobs/98acf42a-4c7f-4ff9-8b65-04db08d89c02","statusCode":200,"correlationId":"e4194664-0de9-40c6-977e-702b8af8ab7f"}
    │ 
    │ 
    │   with genesyscloud_flow.INBOUNDCALL_Test_CX,
    │   on genesyscloud_flow.tf line 8, in resource "genesyscloud_flow" "INBOUNDCALL_Test_CX":
    │    8: resource "genesyscloud_flow" "INBOUNDCALL_Test_CX" {
    │ 
    ╵
    Error: Terraform exited with code 1.
    Error: Process completed with exit code 1.

    The flow in itself as nothing special about it. I can manually publish the version Terraform created via Architect web page with no problems.

    The real issue here is that I have no message to help me figure what's wrong with it.

    Anyone else encountered this issue before? Is there a way to get more logs from Terraform?

    Any advises are welcome!


    #API/Integrations



  • 2.  RE: Creating a flow using the Genesys Terraform provider: it won't publish it because of an unknown error

    Posted 2 days ago

    Hello Tonny,

    Welcome to the Community! I've moved your post to the Genesys Cloud - Developer Community. One of the experts here should be able to help you.



    ------------------------------
    Jason Kleitz
    Online Community Manager/Moderator
    ------------------------------



Need Help finding something?

Check out the Genesys Knowledge Network - your all-in-one access point for Genesys resources