The 05:45 JST sync pipeline’s doing jack all again after the compliance audit update. Terraform 1.9.12 paired with nice-cxone 1.22.3 throws a 400 Bad Request on the nice_cxone_quality_management_call_evaluation_template when pushing the scoring_method block. Console output shows the provider serializes the weight_distribution array as strings instead of floats, which the WFM API rejects outright.
Cleared the remote state, ran a fresh tf plan, and verified the payload against the public REST docs. The API expects numeric values for question weights, but the provider schema won’t cast them correctly. Switched to provider 1.21.8 temporarily, and the apply succeeded, though it wiped three custom evaluation rubrics from the quality dashboard. Rolled back to 1.22.3 to preserve the state backup strategy. Drift detection flags the template every cycle now. UI shows the weights as 10.0, 20.0, 30.0, but the state file records them as “10”, “20”, “30”. Forced a refresh with -refresh-only, and the diff just keeps cycling. Checked the provider GitHub issues for the serialization bug, but the latest release notes don’t mention float casting on quality management resources.
tf apply output:
Error: Error creating Quality Management Call Evaluation Template: 400 Bad Request
Details: {“field”: “scoring_method.weight”, “message”: “Value must be a numeric type”}
State backup sits in S3. The sync job keeps failing at 05:45. Provider schema definitely needs a type override for the weight block, but the documentation leaves it ambiguous.