> ## 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.

# CoreWeave Provider

> Manage CKS, VPC, and Object Storage resources as code with the CoreWeave Terraform provider

The CoreWeave Terraform provider allows you to manage CoreWeave Kubernetes Service (CKS) resources as code. This provider is a plugin for [Terraform](https://developer.hashicorp.com/terraform), an open-source infrastructure as code software tool that allows you to define and provision resources in a declarative configuration language.

Use the provider to deploy and manage [CKS clusters](/products/cks/clusters/create) and VPCs as code. For detailed examples and resource documentation, see the [provider documentation](https://registry.terraform.io/providers/coreweave/coreweave/latest/docs).

<Tip>
  * [View the CoreWeave Terraform provider documentation on the Terraform registry](https://registry.terraform.io/providers/coreweave/coreweave/latest/docs).
  * [Use the CoreWeave Terraform provider in your OpenTofu configuration](https://search.opentofu.org/provider/coreweave/coreweave/latest).
  * Learn more about [CoreWeave's integration and partnership with Hashicorp](https://www.hashicorp.com/en/partners/tech/coreweave).
</Tip>

## Example usage

```terraform theme={"system"}
provider "coreweave" {
  token = "CW-SECRET-XXXXXXXXXXXXX"
}
```

## 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 duration for the HTTP client to use. This can also be set via the COREWEAVE\_HTTP\_TIMEOUT environment variable, which takes precedence. If unset, defaults to 10 seconds
* `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.
