Trying to use the Genesys Cloud Terraform provider to export our entire org configuration for a disaster recovery backup. The docs mention terraform init and terraform plan but I’m not seeing a clear command to dump the current state to a .tf file for archival purposes. We want a static snapshot of queues, users, and IVRs.
I ran terraform plan and it just shows changes, it doesn’t save the baseline. Is there a specific CLI flag or a script I need to run to generate the initial .tf files from the live environment? Here’s what my main.tf looks like right now:
provider "genesyscloud" {
client_id = var.genesys_client_id
client_secret = var.genesys_client_secret
}
# No resources defined yet, just trying to import existing state
Running terraform import feels like I have to do it resource by resource which isn’t scalable for a full org dump. Any code snippets or commands to automate this export?