The CoreWeave Terraform provider lets you manage CoreWeave infrastructure as code, including CKS clusters, VPC networking, AI Object Storage policies and buckets, and Managed Inference resources. This provider is a plugin for Terraform, an open-source infrastructure as code tool that lets you define and provision resources in a declarative configuration language.
Use the provider to deploy and manage CKS clusters, VPCs, Object Storage resources, and Managed Inference resources. For detailed examples and resource documentation, see the provider documentation.
Example usage
Schema
Optional
endpoint (String) CoreWeave API Endpoint. This can also be set via the COREWEAVE_API_ENDPOINT environment variable, which takes precedence. Defaults to https://api.coreweave.com/
http_timeout (String) Timeout for each CoreWeave API and Object Storage S3 HTTP attempt. This can also be set via the COREWEAVE_HTTP_TIMEOUT environment variable, which takes precedence. When unset, CoreWeave API attempts default to 10 seconds and S3 attempts default to 30 seconds. Values near or below service latency can cause request timeouts.
s3_endpoint (String) CoreWeave S3 Endpoint, used for CoreWeave Object Storage. This can also be set via the COREWEAVE_S3_ENDPOINT environment variable, which takes precedence. Defaults to https://cwobject.com
token (String, Sensitive) CoreWeave API Token in the form CW-SECRET-<secret>. This can also be set via the COREWEAVE_API_TOKEN environment variable, which takes precedence.
Last modified on September 9, 2026