Hi @Jesus Garces
On your first question , there is a very good example for substitutions in our Hashicorp page examples. Though it is for a flow resource, the same applies for scripts too. Hope this helps.
------------------------------
Hemanth Dogiparthi
Manager, Software Engineering
------------------------------
Original Message:
Sent: 05-13-2025 12:54
From: Jesus Garces
Subject: How to update a script using terraform or API?
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.
#CXasCode
#PlatformAPI
#PlatformCLI
#Scripts
------------------------------
Jesus Garces
NA
------------------------------