why does this setting fail on apply? trying to enable screen recording for a specific user group via cx as code pipeline. provider genesyscloud version 1.68.4. region au-1.
the hcl looks fine. terraform plan passes validation. but apply crashes with 400.
resource “genesyscloud_screen_recording_settings” “default” {
enabled = true
user_group_id = var.recording_group_id
recording_type = “screen”
settings {
video_quality = “high”
capture_mouse = true
capture_audio = false
}
}
error output:
Error: Error updating Screen Recording Settings: 400 Bad Request
{
“errors” : [ {
“code” : “invalid.request”,
“message” : “Invalid configuration for recording_type ‘screen’. Missing required field ‘storage_bucket_id’ in settings block.”
} ]
}
this is weird. the docs for v1.68.4 do not list storage_bucket_id as required for screen recordings. only for agent desktop recordings maybe? but i am just trying to record the agent screen.
i tried adding storage_bucket_id to the settings block. terraform validate fails because the schema does not accept it for type screen.
if i remove the resource entirely and try to set it via rest api postman, same error.
curl -X PUT https://api.au.genesys.cloud/api/v2/quality/screenrecordings/settings
-H ‘Authorization: Bearer ’
-H ‘Content-Type: application/json’
-d ‘{
“enabled”: true,
“userGroupId”: “”,
“recordingType”: “screen”
}’
response 400.
is the schema out of sync with the api? or am i missing something obvious? the environment is standard enterprise. no custom integrations blocking this. just pure infra as code deployment.
can someone confirm if screen recording requires explicit storage bucket configuration now? because the terraform provider docs are silent on this requirement for screen type. feels like a breaking change without notice. stuck on this for 2 days. blocked the whole pipeline.