1. Packages
  2. CockroachDB Cloud
CockroachDB v0.2.0 published on Monday, Dec 4, 2023 by lbrlabs

CockroachDB Cloud

cockroach logo
CockroachDB v0.2.0 published on Monday, Dec 4, 2023 by lbrlabs

    The Cockroach provider for Pulumi can be used to provision any of the cloud resources available in CockroachDB or a self hosted CockroachDB instance.

    The Cockroach provider must be configured with credentials to deploy and update resources in CockroachDB.

    Example

    import * as cockroach from "@lbrlabs/pulumi-cockroach";
    
    const cluster = new cockroach.Cluster("example", {
        cloudProvider: "AWS",
        name: "cockroach-provider-ts",
        regions: [
            {
                name: "us-west-2",
            },
        ],
        serverless: {
          spendLimit: 0,
        },
    });
    
    import lbrlabs_pulumi_cockroach as cockroach
    
    cluster = cockroach.Cluster(
        "example",
        cloud_provider="AWS",
        name="cockroach-provider-py",
        regions=[
            cockroach.ClusterRegionArgs(
                name="us-west-2",
            ),
        ],
        serverless=cockroach.ClusterServerlessArgs(
            spend_limit=0,
        ),
    )
    
    cockroach logo
    CockroachDB v0.2.0 published on Monday, Dec 4, 2023 by lbrlabs