Sign Up
is there any way to get group id by group name in terraform
i can get queue id by queue name using this-
data "genesyscloud_routing_queue" "my_queue" { name = var.queueName}
but not able to get groupId
#CXasCode#PlatformAPI------------------------------Smriti Shomya------------------------------
Use Group Data Source to get id of group
data "genesyscloud_group" "group" { name = "example group name" }
This will return group Id.
it is showing this error.
data "genesyscloud_group" "group" { name = "example group name"}
Check the group visibility in Genesys Cloud. It should be set to Public.
Copyright© 2025 Genesys. All rights reserved. Terms of Use | Privacy Policy