published on Monday, May 18, 2026 by Pulumi
published on Monday, May 18, 2026 by Pulumi
Buckets are the primary organizational containers for your data in CoreWeave AI Object Storage. Bucket names must be globally-unique and not begin with cw- or vip-, which are reserved for internal use. Learn more about creating buckets.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as coreweave from "@pulumi/coreweave";
const _default = new coreweave.ObjectStorageBucket("default", {
name: "my-tf-test-bucket",
zone: "US-EAST-04A",
tags: {
foo: "bar",
},
});
import pulumi
import pulumi_coreweave as coreweave
default = coreweave.ObjectStorageBucket("default",
name="my-tf-test-bucket",
zone="US-EAST-04A",
tags={
"foo": "bar",
})
package main
import (
"github.com/pulumi/pulumi-coreweave/sdk/go/coreweave"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := coreweave.NewObjectStorageBucket(ctx, "default", &coreweave.ObjectStorageBucketArgs{
Name: pulumi.String("my-tf-test-bucket"),
Zone: pulumi.String("US-EAST-04A"),
Tags: pulumi.StringMap{
"foo": pulumi.String("bar"),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using CoreWeave = Pulumi.CoreWeave;
return await Deployment.RunAsync(() =>
{
var @default = new CoreWeave.ObjectStorageBucket("default", new()
{
Name = "my-tf-test-bucket",
Zone = "US-EAST-04A",
Tags =
{
{ "foo", "bar" },
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.coreweave.ObjectStorageBucket;
import com.pulumi.coreweave.ObjectStorageBucketArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var default_ = new ObjectStorageBucket("default", ObjectStorageBucketArgs.builder()
.name("my-tf-test-bucket")
.zone("US-EAST-04A")
.tags(Map.of("foo", "bar"))
.build());
}
}
resources:
default:
type: coreweave:ObjectStorageBucket
properties:
name: my-tf-test-bucket
zone: US-EAST-04A
tags:
foo: bar
Example coming soon!
Create ObjectStorageBucket Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ObjectStorageBucket(name: string, args: ObjectStorageBucketArgs, opts?: CustomResourceOptions);@overload
def ObjectStorageBucket(resource_name: str,
args: ObjectStorageBucketArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ObjectStorageBucket(resource_name: str,
opts: Optional[ResourceOptions] = None,
zone: Optional[str] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None)func NewObjectStorageBucket(ctx *Context, name string, args ObjectStorageBucketArgs, opts ...ResourceOption) (*ObjectStorageBucket, error)public ObjectStorageBucket(string name, ObjectStorageBucketArgs args, CustomResourceOptions? opts = null)
public ObjectStorageBucket(String name, ObjectStorageBucketArgs args)
public ObjectStorageBucket(String name, ObjectStorageBucketArgs args, CustomResourceOptions options)
type: coreweave:ObjectStorageBucket
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "coreweave_objectstoragebucket" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args ObjectStorageBucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ObjectStorageBucketArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ObjectStorageBucketArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ObjectStorageBucketArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ObjectStorageBucketArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var objectStorageBucketResource = new CoreWeave.ObjectStorageBucket("objectStorageBucketResource", new()
{
Zone = "string",
Name = "string",
Tags =
{
{ "string", "string" },
},
});
example, err := coreweave.NewObjectStorageBucket(ctx, "objectStorageBucketResource", &coreweave.ObjectStorageBucketArgs{
Zone: pulumi.String("string"),
Name: pulumi.String("string"),
Tags: pulumi.StringMap{
"string": pulumi.String("string"),
},
})
resource "coreweave_objectstoragebucket" "objectStorageBucketResource" {
zone = "string"
name = "string"
tags = {
"string" = "string"
}
}
var objectStorageBucketResource = new ObjectStorageBucket("objectStorageBucketResource", ObjectStorageBucketArgs.builder()
.zone("string")
.name("string")
.tags(Map.of("string", "string"))
.build());
object_storage_bucket_resource = coreweave.ObjectStorageBucket("objectStorageBucketResource",
zone="string",
name="string",
tags={
"string": "string",
})
const objectStorageBucketResource = new coreweave.ObjectStorageBucket("objectStorageBucketResource", {
zone: "string",
name: "string",
tags: {
string: "string",
},
});
type: coreweave:ObjectStorageBucket
properties:
name: string
tags:
string: string
zone: string
ObjectStorageBucket Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ObjectStorageBucket resource accepts the following input properties:
Outputs
All input properties are implicitly available as output properties. Additionally, the ObjectStorageBucket resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing ObjectStorageBucket Resource
Get an existing ObjectStorageBucket resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: ObjectStorageBucketState, opts?: CustomResourceOptions): ObjectStorageBucket@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
name: Optional[str] = None,
tags: Optional[Mapping[str, str]] = None,
zone: Optional[str] = None) -> ObjectStorageBucketfunc GetObjectStorageBucket(ctx *Context, name string, id IDInput, state *ObjectStorageBucketState, opts ...ResourceOption) (*ObjectStorageBucket, error)public static ObjectStorageBucket Get(string name, Input<string> id, ObjectStorageBucketState? state, CustomResourceOptions? opts = null)public static ObjectStorageBucket get(String name, Output<String> id, ObjectStorageBucketState state, CustomResourceOptions options)resources: _: type: coreweave:ObjectStorageBucket get: id: ${id}import {
to = coreweave_objectstoragebucket.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
Import
$ pulumi import coreweave:index/objectStorageBucket:ObjectStorageBucket default {{name}}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- coreweave pulumi/pulumi-coreweave
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
coreweaveTerraform Provider.
published on Monday, May 18, 2026 by Pulumi
