Genesys Cloud - Developer Community!

 View Only

Sign Up

  • 1.  How to update a script using terraform or API?

    Posted 05-12-2025 19:00

    My problem is when I want to modify the substitution block, can someone help me with an example?

    resource "genesyscloud_script" "script" {
      script_name       = "terraformTestNEW"
      filepath          = "./script/terraformTestNEW.json"
      file_content_hash = filesha256("./script/terraformTestNEW.json")
      substitutions = {
        Nombre = "Nombre2"
      }
    }

    It would also help me to know strategies to automate the transfer of queues and people. it can be using the CLI, terraform, the API or whatever you can think of.

    it would help me a lot to know your experiences.


    #PerformanceExports
    #Unsure/Other

    ------------------------------
    Jesus Garces
    NA
    ------------------------------


  • 2.  RE: How to update a script using terraform or API?

    Posted 05-12-2025 19:48

    Think this might be better posted in the Developer Forum

    https://community.genesys.com/communities/gc-developer-community?CommunityKey=a39cc4d6-857e-43cb-be7b-019581ab9f38 



    ------------------------------
    Anton Vroon
    ------------------------------



  • 3.  RE: How to update a script using terraform or API?

    Posted 05-13-2025 11:15

    Agreed, will move this across to the Developer Community



    ------------------------------
    Sam Jillard
    Online Community Manager/Moderator
    Genesys - Employees
    ------------------------------



  • 4.  RE: How to update a script using terraform or API?

    Posted 05-13-2025 12:55

    Ok, thank you.



    ------------------------------
    Jesus Garces
    NA
    ------------------------------