Manage Prefect resources with infrastructure-as-code
Declaratively manage Prefect resources with additional tools
You can manage many Prefect resources with tools like Terraform and Helm. These options are a viable alternative to Prefect’s CLI and UI.
Terraform
You can manage resources with the Terraform provider for Prefect.
This documentation represents all Prefect resources that are supported by Terraform. This Terraform provider is maintained by the Prefect team, and is undergoing active development to reach parity with the Prefect API.
The Prefect team welcomes contributions, feature requests, and bug reports via our issue tracker.
Helm
You can manage resources with the Prefect Helm charts.
Each Helm chart subdirectory contains usage documentation. There are two main charts:
- The
prefect-server
chart is used to a deploy a Prefect server. This is an alternative to using Prefect Cloud. - The
prefect-worker
chart is used to deploy a Prefect worker.
Finally, there is a prefect-prometheus-exporter
chart that is used to deploy a Prometheus exporter,
exposing Prefect metrics for monitoring and alerting.