UNPKG

@lbrlabs/pulumi-harness

Version:

A Pulumi package for creating and managing Harness resources.

57 lines 2.09 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.getEnvironmentServiceOverridesOutput = exports.getEnvironmentServiceOverrides = void 0; const pulumi = require("@pulumi/pulumi"); const utilities = require("../utilities"); /** * Data source for Harness environment service overrides. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = harness.platform.getEnvironmentServiceOverrides({ * envId: "environmentIdentifier", * orgId: "orgIdentifier", * projectId: "projectIdentifier", * serviceId: "serviceIdentifier", * }); * ``` */ function getEnvironmentServiceOverrides(args, opts) { opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {}); return pulumi.runtime.invoke("harness:platform/getEnvironmentServiceOverrides:getEnvironmentServiceOverrides", { "envId": args.envId, "identifier": args.identifier, "orgId": args.orgId, "projectId": args.projectId, "serviceId": args.serviceId, }, opts); } exports.getEnvironmentServiceOverrides = getEnvironmentServiceOverrides; /** * Data source for Harness environment service overrides. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as harness from "@pulumi/harness"; * * const test = harness.platform.getEnvironmentServiceOverrides({ * envId: "environmentIdentifier", * orgId: "orgIdentifier", * projectId: "projectIdentifier", * serviceId: "serviceIdentifier", * }); * ``` */ function getEnvironmentServiceOverridesOutput(args, opts) { return pulumi.output(args).apply((a) => getEnvironmentServiceOverrides(a, opts)); } exports.getEnvironmentServiceOverridesOutput = getEnvironmentServiceOverridesOutput; //# sourceMappingURL=getEnvironmentServiceOverrides.js.map