@spacelift-io/pulumi-spacelift
Version:
A Pulumi package for creating and managing Spacelift resources.
43 lines • 1.43 kB
JavaScript
;
// *** 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.getSpacesOutput = exports.getSpaces = void 0;
const pulumi = require("@pulumi/pulumi");
const utilities = require("./utilities");
/**
* `spacelift.getSpaces` can find all spaces in the spacelift organization.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as spacelift from "@pulumi/spacelift";
*
* const this = spacelift.getSpaces({});
* export const spaces = _this.then(_this => _this.spaces);
* ```
*/
function getSpaces(opts) {
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
return pulumi.runtime.invoke("spacelift:index/getSpaces:getSpaces", {}, opts);
}
exports.getSpaces = getSpaces;
/**
* `spacelift.getSpaces` can find all spaces in the spacelift organization.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as spacelift from "@pulumi/spacelift";
*
* const this = spacelift.getSpaces({});
* export const spaces = _this.then(_this => _this.spaces);
* ```
*/
function getSpacesOutput(opts) {
return pulumi.output(getSpaces(opts));
}
exports.getSpacesOutput = getSpacesOutput;
//# sourceMappingURL=getSpaces.js.map