Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
Data source for Harness environment service overrides.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const test = harness.platform.getEnvironmentServiceOverrides({
orgId: "orgIdentifier",
projectId: "projectIdentifier",
envId: "environmentIdentifier",
serviceId: "serviceIdentifier",
});
import pulumi
import pulumi_harness as harness
test = harness.platform.get_environment_service_overrides(org_id="orgIdentifier",
project_id="projectIdentifier",
env_id="environmentIdentifier",
service_id="serviceIdentifier")
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/platform"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := platform.LookupEnvironmentServiceOverrides(ctx, &platform.LookupEnvironmentServiceOverridesArgs{
OrgId: pulumi.StringRef("orgIdentifier"),
ProjectId: pulumi.StringRef("projectIdentifier"),
EnvId: "environmentIdentifier",
ServiceId: pulumi.StringRef("serviceIdentifier"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var test = Harness.Platform.GetEnvironmentServiceOverrides.Invoke(new()
{
OrgId = "orgIdentifier",
ProjectId = "projectIdentifier",
EnvId = "environmentIdentifier",
ServiceId = "serviceIdentifier",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.platform.PlatformFunctions;
import com.pulumi.harness.platform.inputs.GetEnvironmentServiceOverridesArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var test = PlatformFunctions.getEnvironmentServiceOverrides(GetEnvironmentServiceOverridesArgs.builder()
.orgId("orgIdentifier")
.projectId("projectIdentifier")
.envId("environmentIdentifier")
.serviceId("serviceIdentifier")
.build());
}
}
variables:
test:
fn::invoke:
function: harness:platform:getEnvironmentServiceOverrides
arguments:
orgId: orgIdentifier
projectId: projectIdentifier
envId: environmentIdentifier
serviceId: serviceIdentifier
Using getEnvironmentServiceOverrides
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getEnvironmentServiceOverrides(args: GetEnvironmentServiceOverridesArgs, opts?: InvokeOptions): Promise<GetEnvironmentServiceOverridesResult>
function getEnvironmentServiceOverridesOutput(args: GetEnvironmentServiceOverridesOutputArgs, opts?: InvokeOptions): Output<GetEnvironmentServiceOverridesResult>def get_environment_service_overrides(env_id: Optional[str] = None,
identifier: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
service_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetEnvironmentServiceOverridesResult
def get_environment_service_overrides_output(env_id: Optional[pulumi.Input[str]] = None,
identifier: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
service_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetEnvironmentServiceOverridesResult]func LookupEnvironmentServiceOverrides(ctx *Context, args *LookupEnvironmentServiceOverridesArgs, opts ...InvokeOption) (*LookupEnvironmentServiceOverridesResult, error)
func LookupEnvironmentServiceOverridesOutput(ctx *Context, args *LookupEnvironmentServiceOverridesOutputArgs, opts ...InvokeOption) LookupEnvironmentServiceOverridesResultOutput> Note: This function is named LookupEnvironmentServiceOverrides in the Go SDK.
public static class GetEnvironmentServiceOverrides
{
public static Task<GetEnvironmentServiceOverridesResult> InvokeAsync(GetEnvironmentServiceOverridesArgs args, InvokeOptions? opts = null)
public static Output<GetEnvironmentServiceOverridesResult> Invoke(GetEnvironmentServiceOverridesInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetEnvironmentServiceOverridesResult> getEnvironmentServiceOverrides(GetEnvironmentServiceOverridesArgs args, InvokeOptions options)
public static Output<GetEnvironmentServiceOverridesResult> getEnvironmentServiceOverrides(GetEnvironmentServiceOverridesArgs args, InvokeOptions options)
fn::invoke:
function: harness:platform/getEnvironmentServiceOverrides:getEnvironmentServiceOverrides
arguments:
# arguments dictionaryThe following arguments are supported:
- Env
Id string - The env ID to which the overrides associated.
- Identifier string
- identifier of the service overrides.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Service
Id string - The service ID to which the overrides applies.
- Env
Id string - The env ID to which the overrides associated.
- Identifier string
- identifier of the service overrides.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Service
Id string - The service ID to which the overrides applies.
- env
Id String - The env ID to which the overrides associated.
- identifier String
- identifier of the service overrides.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- service
Id String - The service ID to which the overrides applies.
- env
Id string - The env ID to which the overrides associated.
- identifier string
- identifier of the service overrides.
- org
Id string - Unique identifier of the organization.
- project
Id string - Unique identifier of the project.
- service
Id string - The service ID to which the overrides applies.
- env_
id str - The env ID to which the overrides associated.
- identifier str
- identifier of the service overrides.
- org_
id str - Unique identifier of the organization.
- project_
id str - Unique identifier of the project.
- service_
id str - The service ID to which the overrides applies.
- env
Id String - The env ID to which the overrides associated.
- identifier String
- identifier of the service overrides.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- service
Id String - The service ID to which the overrides applies.
getEnvironmentServiceOverrides Result
The following output properties are available:
- Env
Id string - The env ID to which the overrides associated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- identifier of the service overrides.
- Yaml string
- Environment Service Overrides YAML
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Service
Id string - The service ID to which the overrides applies.
- Env
Id string - The env ID to which the overrides associated.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifier string
- identifier of the service overrides.
- Yaml string
- Environment Service Overrides YAML
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Service
Id string - The service ID to which the overrides applies.
- env
Id String - The env ID to which the overrides associated.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- identifier of the service overrides.
- yaml String
- Environment Service Overrides YAML
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- service
Id String - The service ID to which the overrides applies.
- env
Id string - The env ID to which the overrides associated.
- id string
- The provider-assigned unique ID for this managed resource.
- identifier string
- identifier of the service overrides.
- yaml string
- Environment Service Overrides YAML
- org
Id string - Unique identifier of the organization.
- project
Id string - Unique identifier of the project.
- service
Id string - The service ID to which the overrides applies.
- env_
id str - The env ID to which the overrides associated.
- id str
- The provider-assigned unique ID for this managed resource.
- identifier str
- identifier of the service overrides.
- yaml str
- Environment Service Overrides YAML
- org_
id str - Unique identifier of the organization.
- project_
id str - Unique identifier of the project.
- service_
id str - The service ID to which the overrides applies.
- env
Id String - The env ID to which the overrides associated.
- id String
- The provider-assigned unique ID for this managed resource.
- identifier String
- identifier of the service overrides.
- yaml String
- Environment Service Overrides YAML
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- service
Id String - The service ID to which the overrides applies.
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.11.6
published on Thursday, Mar 12, 2026 by Pulumi
published on Thursday, Mar 12, 2026 by Pulumi
