Trying to snapshot the whole org for DR using the Terraform provider. Running terraform init and then terraform import works fine for queues and users. But when I try to import the organization resource itself to get the custom attributes and timezone settings, it crashes.
Here is the config:
resource "genesyscloud_organization" "main" {
name = "My BPO Org"
timezone = "Europe/Amsterdam"
}
The error output:
Error: Error importing object "genesyscloud_organization.main": GET https://api.mypurecloud.com/api/v2/organization: 500 Internal Server Error
The docs for genesyscloud_organization say it supports importing by ID, but there is no ID field in the resource schema. I tried using the org ID from the URL, but the provider complains it can’t find the resource.
Is there a different endpoint or a specific flag I need to pass to the provider to get the full org config? Or is this resource just not importable yet?