prefect 2.20.1 published on Friday, Mar 7, 2025 by prefecthq
Prefect Provider
Generate Provider
The Prefect provider must be installed as a Local Package by following the instructions for Any Terraform Provider:
pulumi package add terraform-provider prefecthq/prefect
Overview
Use the Prefect provider to configure your Prefect infrastructure.
See getting started for more information on setting up the provider.
See troubleshoting for resources to address potential errors.
Configuration Reference
accountId
(String) Default Prefect Cloud Account ID. Can also be set via thePREFECT_CLOUD_ACCOUNT_ID
environment variable.apiKey
(String, Sensitive) Prefect Cloud API Key. Can also be set via thePREFECT_API_KEY
environment variable.basicAuthKey
(String, Sensitive) Prefect basic auth key. Can also be set via thePREFECT_BASIC_AUTH_KEY
environment variable.endpoint
(String) Prefect API URL. Can also be set via thePREFECT_API_URL
environment variable. Defaults tohttps://api.prefect.cloud
workspaceId
(String) Default Prefect Cloud Workspace ID.