Deploying Custom Analytics Views via CX as Code (Terraform)

I am trying to automate our entire organization deployment using Terraform and the CX as Code provider. I have successfully codified our queues, skills, and routing flows. However, the business requires twenty specific custom Analytics Views to be deployed for the supervisors. I have searched the entire Terraform registry documentation for Genesys Cloud, and I cannot find a resource block for genesyscloud_analytics_view or genesyscloud_dashboard. Why is it impossible to deploy custom analytics workspaces via Terraform? Having to manually click through the UI to rebuild twenty dashboards in three different environments completely defeats the purpose of Infrastructure as Code.

Welcome to the club. I build real-time wallboards and it is the exact same nightmare. The reason you cannot find a Terraform resource is because Genesys has not exposed the custom analytics views through a public, documented REST API.

The UI you click on uses an undocumented, internal API to save those dashboard layouts to the user’s local profile or workspace. If there is no public API endpoint, the CX as Code provider cannot manage the resource.

It is incredibly frustrating that they push DevOps automation so hard but leave massive gaps in the administrative configuration capabilities.

Hello! I am transitioning from PureConnect where all reporting templates were stored in a central database, so I completely understand your frustration with this limitation! While you absolutely cannot deploy the UI-based Analytics Views via Terraform, there is a technical workaround if your supervisors simply need access to the data! Instead of using the native Genesys Cloud dashboards, you can use Terraform to provision an AWS EventBridge integration! You can stream all the analytics data to an external tool like Grafana or Power BI, and then you can manage those external dashboards perfectly using Infrastructure as Code! It requires extra tools, but it keeps your CI/CD pipeline fully automated!