Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Viewing docs for Harness v0.11.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
Data source for retrieving IACM default pipelines.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const example = harness.platform.getIacmDefaultPipeline({
orgId: test.id,
projectId: testHarnessPlatformProject.id,
provisionerType: "terraform",
operation: "plan",
});
import pulumi
import pulumi_harness as harness
example = harness.platform.get_iacm_default_pipeline(org_id=test["id"],
project_id=test_harness_platform_project["id"],
provisioner_type="terraform",
operation="plan")
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.LookupIacmDefaultPipeline(ctx, &platform.LookupIacmDefaultPipelineArgs{
OrgId: test.Id,
ProjectId: testHarnessPlatformProject.Id,
ProvisionerType: "terraform",
Operation: "plan",
}, 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 example = Harness.Platform.GetIacmDefaultPipeline.Invoke(new()
{
OrgId = test.Id,
ProjectId = testHarnessPlatformProject.Id,
ProvisionerType = "terraform",
Operation = "plan",
});
});
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.GetIacmDefaultPipelineArgs;
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 example = PlatformFunctions.getIacmDefaultPipeline(GetIacmDefaultPipelineArgs.builder()
.orgId(test.id())
.projectId(testHarnessPlatformProject.id())
.provisionerType("terraform")
.operation("plan")
.build());
}
}
variables:
example:
fn::invoke:
function: harness:platform:getIacmDefaultPipeline
arguments:
orgId: ${test.id}
projectId: ${testHarnessPlatformProject.id}
provisionerType: terraform
operation: plan
Using getIacmDefaultPipeline
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 getIacmDefaultPipeline(args: GetIacmDefaultPipelineArgs, opts?: InvokeOptions): Promise<GetIacmDefaultPipelineResult>
function getIacmDefaultPipelineOutput(args: GetIacmDefaultPipelineOutputArgs, opts?: InvokeOptions): Output<GetIacmDefaultPipelineResult>def get_iacm_default_pipeline(operation: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
provisioner_type: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetIacmDefaultPipelineResult
def get_iacm_default_pipeline_output(operation: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
provisioner_type: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetIacmDefaultPipelineResult]func LookupIacmDefaultPipeline(ctx *Context, args *LookupIacmDefaultPipelineArgs, opts ...InvokeOption) (*LookupIacmDefaultPipelineResult, error)
func LookupIacmDefaultPipelineOutput(ctx *Context, args *LookupIacmDefaultPipelineOutputArgs, opts ...InvokeOption) LookupIacmDefaultPipelineResultOutput> Note: This function is named LookupIacmDefaultPipeline in the Go SDK.
public static class GetIacmDefaultPipeline
{
public static Task<GetIacmDefaultPipelineResult> InvokeAsync(GetIacmDefaultPipelineArgs args, InvokeOptions? opts = null)
public static Output<GetIacmDefaultPipelineResult> Invoke(GetIacmDefaultPipelineInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetIacmDefaultPipelineResult> getIacmDefaultPipeline(GetIacmDefaultPipelineArgs args, InvokeOptions options)
public static Output<GetIacmDefaultPipelineResult> getIacmDefaultPipeline(GetIacmDefaultPipelineArgs args, InvokeOptions options)
fn::invoke:
function: harness:platform/getIacmDefaultPipeline:getIacmDefaultPipeline
arguments:
# arguments dictionaryThe following arguments are supported:
- Operation string
- The operation associated with this default.
- Org
Id string - Organization identifier of the organization the default pipelines resides in.
- Project
Id string - Project identifier of the project the default pipelines resides in.
- Provisioner
Type string - The provisioner associated with this default.
- Operation string
- The operation associated with this default.
- Org
Id string - Organization identifier of the organization the default pipelines resides in.
- Project
Id string - Project identifier of the project the default pipelines resides in.
- Provisioner
Type string - The provisioner associated with this default.
- operation String
- The operation associated with this default.
- org
Id String - Organization identifier of the organization the default pipelines resides in.
- project
Id String - Project identifier of the project the default pipelines resides in.
- provisioner
Type String - The provisioner associated with this default.
- operation string
- The operation associated with this default.
- org
Id string - Organization identifier of the organization the default pipelines resides in.
- project
Id string - Project identifier of the project the default pipelines resides in.
- provisioner
Type string - The provisioner associated with this default.
- operation str
- The operation associated with this default.
- org_
id str - Organization identifier of the organization the default pipelines resides in.
- project_
id str - Project identifier of the project the default pipelines resides in.
- provisioner_
type str - The provisioner associated with this default.
- operation String
- The operation associated with this default.
- org
Id String - Organization identifier of the organization the default pipelines resides in.
- project
Id String - Project identifier of the project the default pipelines resides in.
- provisioner
Type String - The provisioner associated with this default.
getIacmDefaultPipeline Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Operation string
- The operation associated with this default.
- Org
Id string - Organization identifier of the organization the default pipelines resides in.
- Pipeline string
- The pipeline associated with this default.
- Project
Id string - Project identifier of the project the default pipelines resides in.
- Provisioner
Type string - The provisioner associated with this default.
- Id string
- The provider-assigned unique ID for this managed resource.
- Operation string
- The operation associated with this default.
- Org
Id string - Organization identifier of the organization the default pipelines resides in.
- Pipeline string
- The pipeline associated with this default.
- Project
Id string - Project identifier of the project the default pipelines resides in.
- Provisioner
Type string - The provisioner associated with this default.
- id String
- The provider-assigned unique ID for this managed resource.
- operation String
- The operation associated with this default.
- org
Id String - Organization identifier of the organization the default pipelines resides in.
- pipeline String
- The pipeline associated with this default.
- project
Id String - Project identifier of the project the default pipelines resides in.
- provisioner
Type String - The provisioner associated with this default.
- id string
- The provider-assigned unique ID for this managed resource.
- operation string
- The operation associated with this default.
- org
Id string - Organization identifier of the organization the default pipelines resides in.
- pipeline string
- The pipeline associated with this default.
- project
Id string - Project identifier of the project the default pipelines resides in.
- provisioner
Type string - The provisioner associated with this default.
- id str
- The provider-assigned unique ID for this managed resource.
- operation str
- The operation associated with this default.
- org_
id str - Organization identifier of the organization the default pipelines resides in.
- pipeline str
- The pipeline associated with this default.
- project_
id str - Project identifier of the project the default pipelines resides in.
- provisioner_
type str - The provisioner associated with this default.
- id String
- The provider-assigned unique ID for this managed resource.
- operation String
- The operation associated with this default.
- org
Id String - Organization identifier of the organization the default pipelines resides in.
- pipeline String
- The pipeline associated with this default.
- project
Id String - Project identifier of the project the default pipelines resides in.
- provisioner
Type String - The provisioner associated with this default.
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.7
published on Friday, Mar 20, 2026 by Pulumi
published on Friday, Mar 20, 2026 by Pulumi
