Is it possible to configure audit log retention policies via the Genesys Cloud Terraform provider without triggering permission errors?
Attempting to apply a configuration for audit logging in the au-2 region. Provider version 1.58.2. The deployment pipeline fails during the apply phase with a 403 Forbidden error. The service account used by GitHub Actions has Organization Administrator and Audit Log Viewer roles assigned.
The specific resource is genesyscloud_auditlog_export.
To create or modify audit log exports, the user must have the
Audit Log Adminpermission.
The documentation suggests the admin role is sufficient, but the API response indicates a missing scope.
Error: Error creating audit log export: 403 Forbidden
Status: 403
Message: Insufficient permissions to perform this action.
Checking the effective permissions via the CLI shows the role is active. Is there a known issue with role propagation for new service accounts in the Australian region? Or is there a specific API endpoint that needs manual permission grant before Terraform can manage the resource?