Terraform providers are essential plugins that enable Terraform to manage infrastructure resources on various platforms. You can use Terraform to manage access policies and configure bucket lifecycles and versioning. As CoreWeave AI Object Storage is S3-compatible, you can manage it using either the CoreWeave Terraform provider or the official Terraform AWS Provider. Both providers translate Terraform’s declarative syntax into S3-compatible API calls. If you want to manage data and objects, you can use any S3-compatible tool to manage your data. See How-To: Manage Objects to learn how to use CoreWeave AI Object Storage with s3cmd, Boto3, or the AWS CLI.Documentation Index
Fetch the complete documentation index at: https://docs.coreweave.com/llms.txt
Use this file to discover all available pages before exploring further.
Configure Terraform
These examples show how to set up the Terraform provider with CoreWeave AI Object Storage.Endpoint selection
- Use the LOTA endpoint,
http://cwlota.com, when running inside a CoreWeave cluster. The LOTA endpoint routes to the LOTA path for best performance. - Use the primary endpoint,
https://cwobject.com, when running outside of a CoreWeave cluster.
- CoreWeave Provider
- AWS Provider
tokenis set as an environment variable for security. Get your API access token from the CoreWeave Access Tokens page in Cloud Console.s3_endpointdefaults tohttps://cwobject.com, which is the primary CoreWeave AI Object Storage endpoint. If using LOTA, set tohttp://cwlota.com.versionis set to>= 0.3.0because0.3.0is the first version to support AI Object Storage.
Object Storage resources
You can use Terraform to manage organization access policies and bucket access policies, and configure bucket lifecycles and versioning. For detailed examples and documentation, see the CoreWeave provider registry documentation.Additional resources
- To learn more about using the Terraform AWS provider with Object Storage, see the S3 section of the official documentation.
- To learn more about the CoreWeave Terraform provider, see the CoreWeave provider documentation.
- Use the CoreWeave provider in your OpenTofu configuration.