1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getIdpEnvironment
Harness v0.11.0 published on Saturday, Jan 24, 2026 by Pulumi
harness logo
Harness v0.11.0 published on Saturday, Jan 24, 2026 by Pulumi

    Data source for retrieving IDP environments.

    Using getIdpEnvironment

    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 getIdpEnvironment(args: GetIdpEnvironmentArgs, opts?: InvokeOptions): Promise<GetIdpEnvironmentResult>
    function getIdpEnvironmentOutput(args: GetIdpEnvironmentOutputArgs, opts?: InvokeOptions): Output<GetIdpEnvironmentResult>
    def get_idp_environment(identifier: Optional[str] = None,
                            name: Optional[str] = None,
                            org_id: Optional[str] = None,
                            project_id: Optional[str] = None,
                            opts: Optional[InvokeOptions] = None) -> GetIdpEnvironmentResult
    def get_idp_environment_output(identifier: Optional[pulumi.Input[str]] = None,
                            name: Optional[pulumi.Input[str]] = None,
                            org_id: Optional[pulumi.Input[str]] = None,
                            project_id: Optional[pulumi.Input[str]] = None,
                            opts: Optional[InvokeOptions] = None) -> Output[GetIdpEnvironmentResult]
    func LookupIdpEnvironment(ctx *Context, args *LookupIdpEnvironmentArgs, opts ...InvokeOption) (*LookupIdpEnvironmentResult, error)
    func LookupIdpEnvironmentOutput(ctx *Context, args *LookupIdpEnvironmentOutputArgs, opts ...InvokeOption) LookupIdpEnvironmentResultOutput

    > Note: This function is named LookupIdpEnvironment in the Go SDK.

    public static class GetIdpEnvironment 
    {
        public static Task<GetIdpEnvironmentResult> InvokeAsync(GetIdpEnvironmentArgs args, InvokeOptions? opts = null)
        public static Output<GetIdpEnvironmentResult> Invoke(GetIdpEnvironmentInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIdpEnvironmentResult> getIdpEnvironment(GetIdpEnvironmentArgs args, InvokeOptions options)
    public static Output<GetIdpEnvironmentResult> getIdpEnvironment(GetIdpEnvironmentArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:platform/getIdpEnvironment:getIdpEnvironment
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Identifier string
    Unique identifier of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Name string
    Name of the resource.
    Identifier string
    Unique identifier of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Name string
    Name of the resource.
    identifier String
    Unique identifier of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    name String
    Name of the resource.
    identifier string
    Unique identifier of the resource.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    name string
    Name of the resource.
    identifier str
    Unique identifier of the resource.
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    name str
    Name of the resource.
    identifier String
    Unique identifier of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    name String
    Name of the resource.

    getIdpEnvironment Result

    The following output properties are available:

    BasedOn string
    Based on environment reference. This should be passed as \n\n.\n\n/\n\n
    BlueprintIdentifier string
    Blueprint to base the environment on
    BlueprintVersion string
    Version of the blueprint to base the environment on
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    Inputs string
    Additional inputs for controlling the environment. This should be passed as a map of key-value pairs in YAML format
    OrgId string
    Unique identifier of the organization.
    Overrides string
    Overrides for environment blueprint inputs in YAML format
    Owner string
    Owner of the environment
    ProjectId string
    Unique identifier of the project.
    TargetState string
    target state of the environment. If different from the current, a pipeline will be triggered to update the environment
    Name string
    Name of the resource.
    BasedOn string
    Based on environment reference. This should be passed as \n\n.\n\n/\n\n
    BlueprintIdentifier string
    Blueprint to base the environment on
    BlueprintVersion string
    Version of the blueprint to base the environment on
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    Inputs string
    Additional inputs for controlling the environment. This should be passed as a map of key-value pairs in YAML format
    OrgId string
    Unique identifier of the organization.
    Overrides string
    Overrides for environment blueprint inputs in YAML format
    Owner string
    Owner of the environment
    ProjectId string
    Unique identifier of the project.
    TargetState string
    target state of the environment. If different from the current, a pipeline will be triggered to update the environment
    Name string
    Name of the resource.
    basedOn String
    Based on environment reference. This should be passed as \n\n.\n\n/\n\n
    blueprintIdentifier String
    Blueprint to base the environment on
    blueprintVersion String
    Version of the blueprint to base the environment on
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    inputs String
    Additional inputs for controlling the environment. This should be passed as a map of key-value pairs in YAML format
    orgId String
    Unique identifier of the organization.
    overrides String
    Overrides for environment blueprint inputs in YAML format
    owner String
    Owner of the environment
    projectId String
    Unique identifier of the project.
    targetState String
    target state of the environment. If different from the current, a pipeline will be triggered to update the environment
    name String
    Name of the resource.
    basedOn string
    Based on environment reference. This should be passed as \n\n.\n\n/\n\n
    blueprintIdentifier string
    Blueprint to base the environment on
    blueprintVersion string
    Version of the blueprint to base the environment on
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource.
    inputs string
    Additional inputs for controlling the environment. This should be passed as a map of key-value pairs in YAML format
    orgId string
    Unique identifier of the organization.
    overrides string
    Overrides for environment blueprint inputs in YAML format
    owner string
    Owner of the environment
    projectId string
    Unique identifier of the project.
    targetState string
    target state of the environment. If different from the current, a pipeline will be triggered to update the environment
    name string
    Name of the resource.
    based_on str
    Based on environment reference. This should be passed as \n\n.\n\n/\n\n
    blueprint_identifier str
    Blueprint to base the environment on
    blueprint_version str
    Version of the blueprint to base the environment on
    id str
    The provider-assigned unique ID for this managed resource.
    identifier str
    Unique identifier of the resource.
    inputs str
    Additional inputs for controlling the environment. This should be passed as a map of key-value pairs in YAML format
    org_id str
    Unique identifier of the organization.
    overrides str
    Overrides for environment blueprint inputs in YAML format
    owner str
    Owner of the environment
    project_id str
    Unique identifier of the project.
    target_state str
    target state of the environment. If different from the current, a pipeline will be triggered to update the environment
    name str
    Name of the resource.
    basedOn String
    Based on environment reference. This should be passed as \n\n.\n\n/\n\n
    blueprintIdentifier String
    Blueprint to base the environment on
    blueprintVersion String
    Version of the blueprint to base the environment on
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    inputs String
    Additional inputs for controlling the environment. This should be passed as a map of key-value pairs in YAML format
    orgId String
    Unique identifier of the organization.
    overrides String
    Overrides for environment blueprint inputs in YAML format
    owner String
    Owner of the environment
    projectId String
    Unique identifier of the project.
    targetState String
    target state of the environment. If different from the current, a pipeline will be triggered to update the environment
    name String
    Name of the resource.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.11.0 published on Saturday, Jan 24, 2026 by Pulumi
      Meet Neo: Your AI Platform Teammate