Trying to define a Genesys Cloud queue with specific skills in Terraform using the CX as Code provider. The gen_cloud_queue resource doesn’t seem to have a skills block, so I’m guessing I need a separate gen_cloud_skill resource and a dependency map, but the docs are thin on this. Here is what I have so far:
terraform {
required_providers {
gen = {
source = "mycompany/gen"
}
}
}
resource "gen_cloud_queue" "main" {
name = "Support"
}
resource "gen_cloud_skill" "tech" {
name = "Tech Support"
}
How do I actually link them? The API docs show a queue entity with a skills array, but the Terraform schema is different.