Does anyone know the specific schema requirement for genesyscloud_wfm_user_schedule that causes a 422 Unprocessable Entity error during Terraform apply?
Environment: Genesys Cloud US East, Terraform v1.9.0, Provider v1.95.0.
Error message: Error creating WFM user schedule: HTTP 422. Validation failed for field 'schedule_entries'.
The HCL configuration defines a simple weekly template with fixed availability blocks. The JSON payload validates successfully against the OpenAPI spec in Swagger UI.
However, the CLI returns a detailed error indicating start_time and end_time must be in UTC ISO 8601 format, yet the input is already formatted as 2024-01-15T02:00:00Z.
Attempted to bypass by using the raw JSON body in genesyscloud_wfm_user_schedule resource, but the provider still injects local timezone offsets, causing the API to reject the overlap logic.
Current workaround involves manual creation in the UI, which breaks the Infrastructure as Code pipeline integrity.
Any insights on how to force UTC handling in the provider or if this is a known bug in the WFM API integration?