UNPKG

@lbrlabs/pulumi-cockroach

Version:

A Pulumi package to create and managed cockroach db resources in Pulumi programs.

25 lines 1.09 kB
"use strict"; // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getCockroachClusterOutput = exports.getCockroachCluster = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * CockroachDB Cloud cluster. Can be Dedicated or Serverless. */ function getCockroachCluster(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("cockroach:index/getCockroachCluster:getCockroachCluster", { "id": args.id, }, opts); } exports.getCockroachCluster = getCockroachCluster; /** * CockroachDB Cloud cluster. Can be Dedicated or Serverless. */ function getCockroachClusterOutput(args, opts) { return pulumi.output(args).apply((a) => getCockroachCluster(a, opts)); } exports.getCockroachClusterOutput = getCockroachClusterOutput; //# sourceMappingURL=getCockroachCluster.js.map