UNPKG

@spacelift-io/pulumi-spacelift

Version:

A Pulumi package for creating and managing Spacelift resources.

36 lines 1.46 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.getStacksOutput = exports.getStacks = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * `spacelift.getStacks` represents all the stacks in the Spacelift account visible to the API user, matching predicates. */ function getStacks(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("spacelift:index/getStacks:getStacks", { "administrative": args.administrative, "branch": args.branch, "commit": args.commit, "labels": args.labels, "locked": args.locked, "name": args.name, "projectRoot": args.projectRoot, "repository": args.repository, "state": args.state, "vendor": args.vendor, "workerPool": args.workerPool, }, opts); } exports.getStacks = getStacks; /** * `spacelift.getStacks` represents all the stacks in the Spacelift account visible to the API user, matching predicates. */ function getStacksOutput(args, opts) { return pulumi.output(args).apply((a) => getStacks(a, opts)); } exports.getStacksOutput = getStacksOutput; //# sourceMappingURL=getStacks.js.map