- Environment: Genesys Cloud ap-southeast-2
- Provider: terraform-provider-genesyscloud v1.65.0
- Auth: OAuth Client Credentials (SSO enabled)
- Issue:
terraform apply fails on genesyscloud_analytics_report_definition
- Error: 403 Forbidden. Message: “Insufficient permissions to create report definition.”
- User Role: Admin + Analytics Admin
- Observation:
- Manual API call via Postman (same token) works.
- Terraform fails consistently.
- Other resources (users, queues) deploy fine.
- HCL Snippet:
resource "genesyscloud_analytics_report_definition" "test_report" {
name = "Test Report"
type = "conversation"
description = "Created via Terraform"
report_definition {
id = "some_valid_id"
}
}
- Question:
- Is there a known bug with SSO tokens and Analytics API in v1.65.0?
- Or is this a specific permission scope missing in the OAuth client?
- Any workarounds? Maybe using a different auth method for this resource?