These docs are for Cribl Api 4.17 and are no longer actively maintained.
See the latest version (4.18).
Cribl Terraform Provider (Preview)
Preview Feature
The Cribl Terraform provider is a Preview feature is still being developed. We do not recommend using it in a production environment, because the feature might not be fully tested or optimized for performance, and related documentation could be incomplete.
Please continue to submit feedback through normal Cribl support channels, but assistance might be limited while the feature remains in Preview.
The Cribl Terraform provider offers a streamlined, repeatable approach for configuring end-to-end infrastructure as code (IaC) and managing resources consistently across Cribl Organizations and Workspaces.
For an opinionated Terraform starter template, refer to the Cribl as Code Quickstart GitHub repository. The quickstart repo provides copyable examples for creating Worker Groups and installing Packs in Cribl.Cloud, including committing and deploying the configuration. Clone the quickstart repo and follow the instructions to develop a repeatable pipeline for your own deployment.
The terraform-provider-criblio GitHub repository includes in-depth examples and describes prerequisites, installation and authentication, available resources and data sources, and testing.
The Terraform Registry documentation also provides reference information.
On-prem deployments support operations for resources including Sources, Destinations, Routes, Pipelines, and Packs. Cribl Search, Cribl Lake and Lakehouse, and Workspace Management operations are supported only on Cribl.Cloud.