Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 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 dictionaryThe following arguments are supported:
- Identifier string
- Unique identifier of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Name string
- Name of the resource.
- Identifier string
- Unique identifier of the resource.
- Org
Id string - Unique identifier of the organization.
- Project
Id string - Unique identifier of the project.
- Name string
- Name of the resource.
- identifier String
- Unique identifier of the resource.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- name String
- Name of the resource.
- identifier string
- Unique identifier of the resource.
- org
Id string - Unique identifier of the organization.
- project
Id 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.
- org
Id String - Unique identifier of the organization.
- project
Id String - Unique identifier of the project.
- name String
- Name of the resource.
getIdpEnvironment Result
The following output properties are available:
- Based
On string - Based on environment reference. This should be passed as \n\n.\n\n/\n\n
- Blueprint
Identifier string - Blueprint to base the environment on
- Blueprint
Version 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
- Org
Id string - Unique identifier of the organization.
- Overrides string
- Overrides for environment blueprint inputs in YAML format
- Owner string
- Owner of the environment
- Project
Id string - Unique identifier of the project.
- Target
State 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 string - Based on environment reference. This should be passed as \n\n.\n\n/\n\n
- Blueprint
Identifier string - Blueprint to base the environment on
- Blueprint
Version 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
- Org
Id string - Unique identifier of the organization.
- Overrides string
- Overrides for environment blueprint inputs in YAML format
- Owner string
- Owner of the environment
- Project
Id string - Unique identifier of the project.
- Target
State 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 String - Based on environment reference. This should be passed as \n\n.\n\n/\n\n
- blueprint
Identifier String - Blueprint to base the environment on
- blueprint
Version 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
- org
Id String - Unique identifier of the organization.
- overrides String
- Overrides for environment blueprint inputs in YAML format
- owner String
- Owner of the environment
- project
Id String - Unique identifier of the project.
- target
State 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 string - Based on environment reference. This should be passed as \n\n.\n\n/\n\n
- blueprint
Identifier string - Blueprint to base the environment on
- blueprint
Version 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
- org
Id string - Unique identifier of the organization.
- overrides string
- Overrides for environment blueprint inputs in YAML format
- owner string
- Owner of the environment
- project
Id string - Unique identifier of the project.
- target
State 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.
- based
On String - Based on environment reference. This should be passed as \n\n.\n\n/\n\n
- blueprint
Identifier String - Blueprint to base the environment on
- blueprint
Version 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
- org
Id String - Unique identifier of the organization.
- overrides String
- Overrides for environment blueprint inputs in YAML format
- owner String
- Owner of the environment
- project
Id String - Unique identifier of the project.
- target
State 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
harnessTerraform Provider.
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
published on Friday, Mar 27, 2026 by Pulumi
