Skip to main content

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",
});

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pulumi_coreweave-1.0.2.tar.gz (40.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pulumi_coreweave-1.0.2-py3-none-any.whl (56.2 kB view details)

Uploaded Python 3

File details

Details for the file pulumi_coreweave-1.0.2.tar.gz.

File metadata

  • Download URL: pulumi_coreweave-1.0.2.tar.gz
  • Upload date:
  • Size: 40.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.15

File hashes

Hashes for pulumi_coreweave-1.0.2.tar.gz
Algorithm Hash digest
SHA256 bddc3618963dbaa1ec822a22532998bf7c9d4249f92aeb4e406941e2023986c0
MD5 e9a0277844cfbb1ebd149428596b926d
BLAKE2b-256 b718f4b2c2f80f675c7faa7120ef97318f3735322e1026225b57b0a89023dd70

See more details on using hashes here.

File details

Details for the file pulumi_coreweave-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pulumi_coreweave-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f226788dd45b11c8da96f9053676cca871174e77488555b799ef70fb21f89450
MD5 5cf28ac43d3eb2d5a9da1598411c2927
BLAKE2b-256 8f42847c895d8be4e4ece25161b3473e91f5571e0d544450cfff5fcaee617546

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.0.2

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page