I’m hitting a weird snag with the Genesys Cloud Terraform provider. I’ve been trying to automate our WFM queue setup to keep things in sync with our rostering data. The plan shows the resource will be created, but when I run terraform apply, the queue gets created without the skills attached. I’m using the genesyscloud_routing_queue resource.
Here’s the block I’m using:
resource "genesyscloud_routing_queue" "wfm_support_queue" {
name = "WFM Support Queue"
description = "Queue for WFM adherence issues"
skills {
id = "12345-67890-abcde"
}
}
The skill ID is definitely valid. I pulled it from the /api/v2/organizations/{organizationId}/skills endpoint. When I check the UI after apply, the queue exists but the skills list is empty. I tried adding depends_on to a separate skill resource just in case, but that didn’t change anything.
Is there a specific way to link skills in the provider? I’m assuming I’m missing a parameter or the syntax is slightly off for nested blocks. The docs are a bit sparse on this specific interaction. I’ve verified the Bearer token has the right scopes. It’s just not sticking.