We are trying to export our entire org configuration for disaster recovery using the Genesys Cloud Terraform provider. The goal is to have a backup of all routing and WEM settings.
I am running the export command in my US/Pacific environment. The process starts fine but crashes when it hits the Workforce Engagement Management section.
Here is the snippet from the provider config:
provider "genesyscloud" {
debug = true
}
resource "genesyscloud_wem_adherence_settings" "main" {
# Exporting current settings
}
The error log shows this:
Error: 404 Not Found
Response Body: {
"message": "Resource not found: /api/v2/wem/adherence/settings"
}
The documentation says the export should handle WEM resources. I have verified the OAuth token has the wem:adherence scope. The token works fine when I manually call the API via Postman to get agent adherence, but the Terraform export tool cannot find the settings endpoint.
Is the Terraform provider missing support for the WEM adherence settings export? Or is there a specific flag I need to set to include WEM in the full org export?