UNPKG

@pulumi/harness

Version:

A Pulumi package for creating and managing Harness resources.

24 lines 1.09 kB
"use strict"; // *** WARNING: this file was generated by pulumi-language-nodejs. *** // *** Do not edit by hand unless you're certain you know what you are doing! *** Object.defineProperty(exports, "__esModule", { value: true }); exports.getCurrentUserOutput = exports.getCurrentUser = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for retrieving the current user based on the API key. */ function getCurrentUser(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("harness:platform/getCurrentUser:getCurrentUser", {}, opts); } exports.getCurrentUser = getCurrentUser; /** * Data source for retrieving the current user based on the API key. */ function getCurrentUserOutput(opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invokeOutput("harness:platform/getCurrentUser:getCurrentUser", {}, opts); } exports.getCurrentUserOutput = getCurrentUserOutput; //# sourceMappingURL=getCurrentUser.js.map