A Pulumi package for creating and managing CoreWeave cloud resources.
Project description
Pulumi provider for CoreWeave
Pulumi provider that lets you manage CoreWeave resources. Based on the terraform-provider-coreweave Terraform provider under the hood.
Installing
This package is available for several languages/platforms:
Node.js (JavaScript/TypeScript)
To use from JavaScript or TypeScript in Node.js, install using either npm:
npm install @pulumi/coreweave
or yarn:
yarn add @pulumi/coreweave
Python
To use from Python, install using pip:
pip install pulumi_coreweave
Go
To use from Go, use go get to grab the latest version of the library:
go get github.com/pulumi/pulumi-coreweave/sdk/go/...
.NET
To use from .NET, install using dotnet add package:
dotnet add package Pulumi.CoreWeave
Configuration
The CoreWeave provider has the following configuration options:
| Option | Required | Description |
|---|---|---|
coreweave:token |
Optional | CoreWeave API token in the form CW-SECRET-<secret>. Can also be set via the COREWEAVE_API_TOKEN environment variable, which takes precedence. |
coreweave:endpoint |
Optional | CoreWeave API endpoint. Can also be set via the COREWEAVE_API_ENDPOINT environment variable, which takes precedence. Defaults to https://api.coreweave.com/. |
coreweave:httpTimeout |
Optional | Timeout duration for the HTTP client (e.g. 30s). Can also be set via the COREWEAVE_HTTP_TIMEOUT environment variable, which takes precedence. Defaults to 10s. |
coreweave:s3Endpoint |
Optional | CoreWeave S3 endpoint, used for CoreWeave Object Storage. Can also be set via the COREWEAVE_S3_ENDPOINT environment variable, which takes precedence. Defaults to https://cwobject.com. |
Setting configuration values
Use pulumi config set to configure the provider. The token is sensitive, so use the --secret flag:
pulumi config set --secret coreweave:token CW-SECRET-XXXXXXXXXXXXX
Or set the token via environment variable:
export COREWEAVE_API_TOKEN=CW-SECRET-XXXXXXXXXXXXX
Example usage
import * as coreweave from "@pulumi/coreweave";
const provider = new coreweave.Provider("coreweave", {
token: "CW-SECRET-XXXXXXXXXXXXX",
});
import pulumi_coreweave as coreweave
provider = coreweave.Provider("coreweave",
token="CW-SECRET-XXXXXXXXXXXXX",
)
import "github.com/pulumi/pulumi-coreweave/sdk/go/coreweave"
provider, err := coreweave.NewProvider(ctx, "coreweave", &coreweave.ProviderArgs{
Token: pulumi.String("CW-SECRET-XXXXXXXXXXXXX"),
})
var provider = new CoreWeave.Provider("coreweave", new CoreWeave.ProviderArgs
{
Token = "CW-SECRET-XXXXXXXXXXXXX",
});
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pulumi_coreweave-1.0.0a1777076130.tar.gz.
File metadata
- Download URL: pulumi_coreweave-1.0.0a1777076130.tar.gz
- Upload date:
- Size: 37.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd38ea2c7dbbea32d760fe659c18849ad1b03837bc3e073d465189e3ac55ff54
|
|
| MD5 |
a0a0061868966a69e41dd9535d9cfee2
|
|
| BLAKE2b-256 |
5f8ad6341cb77829bb7c5b69785f9b7acd65833fec84371a350b765684c25dd1
|
File details
Details for the file pulumi_coreweave-1.0.0a1777076130-py3-none-any.whl.
File metadata
- Download URL: pulumi_coreweave-1.0.0a1777076130-py3-none-any.whl
- Upload date:
- Size: 51.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c76e812d8914b59ab09bd63c937f1b5245caa7838f708357bab591f2dc90770a
|
|
| MD5 |
c37583e7701b691eab11326fe8ee0279
|
|
| BLAKE2b-256 |
292e1bc51a47150fae6a615ecaf0b0e147a0fa3b19395bbf73b2f4e02587e82e
|