UNPKG

@lbrlabs/pulumi-harness

Version:

A Pulumi package for creating and managing Harness resources.

53 lines 1.65 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.getVariablesOutput = exports.getVariables = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for retrieving a Harness Variable. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getVariables({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ function getVariables(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("harness:platform/getVariables:getVariables", { "identifier": args.identifier, "orgId": args.orgId, "projectId": args.projectId, }, opts); } exports.getVariables = getVariables; /** * Data source for retrieving a Harness Variable. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const example = harness.platform.getVariables({ * identifier: "identifier", * orgId: "org_id", * projectId: "project_id", * }); * ``` */ function getVariablesOutput(args, opts) { return pulumi.output(args).apply((a) => getVariables(a, opts)); } exports.getVariablesOutput = getVariablesOutput; //# sourceMappingURL=getVariables.js.map