UNPKG

@spacelift-io/pulumi-spacelift

Version:

A Pulumi package for creating and managing Spacelift resources.

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