UNPKG

@spacelift-io/pulumi-spacelift

Version:

A Pulumi package for creating and managing Spacelift resources.

51 lines 1.78 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.getStackGcpServiceAccountOutput = exports.getStackGcpServiceAccount = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("./utilities"); /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as spacelift from "@pulumi/spacelift"; * * const k8s-module = spacelift.getStackGcpServiceAccount({ * moduleId: "k8s-module", * }); * const k8s-core = spacelift.getStackGcpServiceAccount({ * stackId: "k8s-core", * }); * ``` */ function getStackGcpServiceAccount(args, opts) { args = args || {}; opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("spacelift:index/getStackGcpServiceAccount:getStackGcpServiceAccount", { "moduleId": args.moduleId, "stackId": args.stackId, }, opts); } exports.getStackGcpServiceAccount = getStackGcpServiceAccount; /** * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as spacelift from "@pulumi/spacelift"; * * const k8s-module = spacelift.getStackGcpServiceAccount({ * moduleId: "k8s-module", * }); * const k8s-core = spacelift.getStackGcpServiceAccount({ * stackId: "k8s-core", * }); * ``` */ function getStackGcpServiceAccountOutput(args, opts) { return pulumi.output(args).apply((a) => getStackGcpServiceAccount(a, opts)); } exports.getStackGcpServiceAccountOutput = getStackGcpServiceAccountOutput; //# sourceMappingURL=getStackGcpServiceAccount.js.map