1. Packages
  2. Harness
  3. API Docs
  4. platform
  5. InputSet
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

harness.platform.InputSet

Explore with Pulumi AI

harness logo
Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs

    Resource for creating a Harness InputSet.

    Example Usage

    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Harness = Lbrlabs.PulumiPackage.Harness;
    
    return await Deployment.RunAsync(() => 
    {
        var example = new Harness.Platform.InputSet("example", new()
        {
            Identifier = "identifier",
            Tags = new[]
            {
                "foo:bar",
            },
            OrgId = "org_id",
            ProjectId = "project_id",
            PipelineId = "pipeline_id",
            Yaml = @"inputSet:
      identifier: ""identifier""
      name: ""name""
      tags:
        foo: ""bar""
      orgIdentifier: ""org_id""
      projectIdentifier: ""project_id""
      pipeline:
        identifier: ""pipeline_id""
        variables:
        - name: ""key""
          type: ""String""
          value: ""value""
    ",
        });
    
        // Remote InputSet
        var test = new Harness.Platform.InputSet("test", new()
        {
            Identifier = "identifier",
            Tags = new[]
            {
                "foo:bar",
            },
            OrgId = harness_platform_organization.Test.Id,
            ProjectId = harness_platform_project.Test.Id,
            PipelineId = harness_platform_pipeline.Test.Id,
            GitDetails = new Harness.Platform.Inputs.InputSetGitDetailsArgs
            {
                BranchName = "main",
                CommitMessage = "Commit",
                FilePath = ".harness/file_path.yaml",
                ConnectorRef = "account.connector_ref",
                StoreType = "REMOTE",
                RepoName = "repo_name",
            },
            Yaml = @$"inputSet:
      identifier: ""identifier""
      name: ""name""
      tags:
        foo: ""bar""
      orgIdentifier: ""{harness_platform_organization.Test.Id}""
      projectIdentifier: ""{harness_platform_project.Test.Id}""
      pipeline:
        identifier: ""{harness_platform_pipeline.Test.Id}""
        variables:
        - name: ""key""
          type: ""String""
          value: ""value""
    ",
        });
    
    });
    
    package main
    
    import (
    	"fmt"
    
    	"github.com/lbrlabs/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.NewInputSet(ctx, "example", &platform.InputSetArgs{
    			Identifier: pulumi.String("identifier"),
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    			},
    			OrgId:      pulumi.String("org_id"),
    			ProjectId:  pulumi.String("project_id"),
    			PipelineId: pulumi.String("pipeline_id"),
    			Yaml: pulumi.String(`inputSet:
      identifier: "identifier"
      name: "name"
      tags:
        foo: "bar"
      orgIdentifier: "org_id"
      projectIdentifier: "project_id"
      pipeline:
        identifier: "pipeline_id"
        variables:
        - name: "key"
          type: "String"
          value: "value"
    `),
    		})
    		if err != nil {
    			return err
    		}
    		_, err = platform.NewInputSet(ctx, "test", &platform.InputSetArgs{
    			Identifier: pulumi.String("identifier"),
    			Tags: pulumi.StringArray{
    				pulumi.String("foo:bar"),
    			},
    			OrgId:      pulumi.Any(harness_platform_organization.Test.Id),
    			ProjectId:  pulumi.Any(harness_platform_project.Test.Id),
    			PipelineId: pulumi.Any(harness_platform_pipeline.Test.Id),
    			GitDetails: &platform.InputSetGitDetailsArgs{
    				BranchName:    pulumi.String("main"),
    				CommitMessage: pulumi.String("Commit"),
    				FilePath:      pulumi.String(".harness/file_path.yaml"),
    				ConnectorRef:  pulumi.String("account.connector_ref"),
    				StoreType:     pulumi.String("REMOTE"),
    				RepoName:      pulumi.String("repo_name"),
    			},
    			Yaml: pulumi.String(fmt.Sprintf(`inputSet:
      identifier: "identifier"
      name: "name"
      tags:
        foo: "bar"
      orgIdentifier: "%v"
      projectIdentifier: "%v"
      pipeline:
        identifier: "%v"
        variables:
        - name: "key"
          type: "String"
          value: "value"
    `, harness_platform_organization.Test.Id, harness_platform_project.Test.Id, harness_platform_pipeline.Test.Id)),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.InputSet;
    import com.pulumi.harness.platform.InputSetArgs;
    import com.pulumi.harness.platform.inputs.InputSetGitDetailsArgs;
    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) {
            var example = new InputSet("example", InputSetArgs.builder()        
                .identifier("identifier")
                .tags("foo:bar")
                .orgId("org_id")
                .projectId("project_id")
                .pipelineId("pipeline_id")
                .yaml("""
    inputSet:
      identifier: "identifier"
      name: "name"
      tags:
        foo: "bar"
      orgIdentifier: "org_id"
      projectIdentifier: "project_id"
      pipeline:
        identifier: "pipeline_id"
        variables:
        - name: "key"
          type: "String"
          value: "value"
                """)
                .build());
    
            var test = new InputSet("test", InputSetArgs.builder()        
                .identifier("identifier")
                .tags("foo:bar")
                .orgId(harness_platform_organization.test().id())
                .projectId(harness_platform_project.test().id())
                .pipelineId(harness_platform_pipeline.test().id())
                .gitDetails(InputSetGitDetailsArgs.builder()
                    .branchName("main")
                    .commitMessage("Commit")
                    .filePath(".harness/file_path.yaml")
                    .connectorRef("account.connector_ref")
                    .storeType("REMOTE")
                    .repoName("repo_name")
                    .build())
                .yaml("""
    inputSet:
      identifier: "identifier"
      name: "name"
      tags:
        foo: "bar"
      orgIdentifier: "%s"
      projectIdentifier: "%s"
      pipeline:
        identifier: "%s"
        variables:
        - name: "key"
          type: "String"
          value: "value"
    ", harness_platform_organization.test().id(),harness_platform_project.test().id(),harness_platform_pipeline.test().id()))
                .build());
    
        }
    }
    
    import pulumi
    import lbrlabs_pulumi_harness as harness
    
    example = harness.platform.InputSet("example",
        identifier="identifier",
        tags=["foo:bar"],
        org_id="org_id",
        project_id="project_id",
        pipeline_id="pipeline_id",
        yaml="""inputSet:
      identifier: "identifier"
      name: "name"
      tags:
        foo: "bar"
      orgIdentifier: "org_id"
      projectIdentifier: "project_id"
      pipeline:
        identifier: "pipeline_id"
        variables:
        - name: "key"
          type: "String"
          value: "value"
    """)
    # Remote InputSet
    test = harness.platform.InputSet("test",
        identifier="identifier",
        tags=["foo:bar"],
        org_id=harness_platform_organization["test"]["id"],
        project_id=harness_platform_project["test"]["id"],
        pipeline_id=harness_platform_pipeline["test"]["id"],
        git_details=harness.platform.InputSetGitDetailsArgs(
            branch_name="main",
            commit_message="Commit",
            file_path=".harness/file_path.yaml",
            connector_ref="account.connector_ref",
            store_type="REMOTE",
            repo_name="repo_name",
        ),
        yaml=f"""inputSet:
      identifier: "identifier"
      name: "name"
      tags:
        foo: "bar"
      orgIdentifier: "{harness_platform_organization["test"]["id"]}"
      projectIdentifier: "{harness_platform_project["test"]["id"]}"
      pipeline:
        identifier: "{harness_platform_pipeline["test"]["id"]}"
        variables:
        - name: "key"
          type: "String"
          value: "value"
    """)
    
    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@lbrlabs/pulumi-harness";
    
    const example = new harness.platform.InputSet("example", {
        identifier: "identifier",
        tags: ["foo:bar"],
        orgId: "org_id",
        projectId: "project_id",
        pipelineId: "pipeline_id",
        yaml: `inputSet:
      identifier: "identifier"
      name: "name"
      tags:
        foo: "bar"
      orgIdentifier: "org_id"
      projectIdentifier: "project_id"
      pipeline:
        identifier: "pipeline_id"
        variables:
        - name: "key"
          type: "String"
          value: "value"
    `,
    });
    // Remote InputSet
    const test = new harness.platform.InputSet("test", {
        identifier: "identifier",
        tags: ["foo:bar"],
        orgId: harness_platform_organization.test.id,
        projectId: harness_platform_project.test.id,
        pipelineId: harness_platform_pipeline.test.id,
        gitDetails: {
            branchName: "main",
            commitMessage: "Commit",
            filePath: ".harness/file_path.yaml",
            connectorRef: "account.connector_ref",
            storeType: "REMOTE",
            repoName: "repo_name",
        },
        yaml: `inputSet:
      identifier: "identifier"
      name: "name"
      tags:
        foo: "bar"
      orgIdentifier: "${harness_platform_organization.test.id}"
      projectIdentifier: "${harness_platform_project.test.id}"
      pipeline:
        identifier: "${harness_platform_pipeline.test.id}"
        variables:
        - name: "key"
          type: "String"
          value: "value"
    `,
    });
    
    resources:
      example:
        type: harness:platform:InputSet
        properties:
          identifier: identifier
          tags:
            - foo:bar
          orgId: org_id
          projectId: project_id
          pipelineId: pipeline_id
          yaml: |
            inputSet:
              identifier: "identifier"
              name: "name"
              tags:
                foo: "bar"
              orgIdentifier: "org_id"
              projectIdentifier: "project_id"
              pipeline:
                identifier: "pipeline_id"
                variables:
                - name: "key"
                  type: "String"
                  value: "value"        
      # Remote InputSet
      test:
        type: harness:platform:InputSet
        properties:
          identifier: identifier
          tags:
            - foo:bar
          orgId: ${harness_platform_organization.test.id}
          projectId: ${harness_platform_project.test.id}
          pipelineId: ${harness_platform_pipeline.test.id}
          gitDetails:
            branchName: main
            commitMessage: Commit
            filePath: .harness/file_path.yaml
            connectorRef: account.connector_ref
            storeType: REMOTE
            repoName: repo_name
          yaml: |
            inputSet:
              identifier: "identifier"
              name: "name"
              tags:
                foo: "bar"
              orgIdentifier: "${harness_platform_organization.test.id}"
              projectIdentifier: "${harness_platform_project.test.id}"
              pipeline:
                identifier: "${harness_platform_pipeline.test.id}"
                variables:
                - name: "key"
                  type: "String"
                  value: "value"        
    

    Create InputSet Resource

    new InputSet(name: string, args: InputSetArgs, opts?: CustomResourceOptions);
    @overload
    def InputSet(resource_name: str,
                 opts: Optional[ResourceOptions] = None,
                 description: Optional[str] = None,
                 git_details: Optional[InputSetGitDetailsArgs] = None,
                 identifier: Optional[str] = None,
                 name: Optional[str] = None,
                 org_id: Optional[str] = None,
                 pipeline_id: Optional[str] = None,
                 project_id: Optional[str] = None,
                 tags: Optional[Sequence[str]] = None,
                 yaml: Optional[str] = None)
    @overload
    def InputSet(resource_name: str,
                 args: InputSetArgs,
                 opts: Optional[ResourceOptions] = None)
    func NewInputSet(ctx *Context, name string, args InputSetArgs, opts ...ResourceOption) (*InputSet, error)
    public InputSet(string name, InputSetArgs args, CustomResourceOptions? opts = null)
    public InputSet(String name, InputSetArgs args)
    public InputSet(String name, InputSetArgs args, CustomResourceOptions options)
    
    type: harness:platform:InputSet
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    name string
    The unique name of the resource.
    args InputSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args InputSetArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args InputSetArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InputSetArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InputSetArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    InputSet Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The InputSet resource accepts the following input properties:

    Identifier string
    Unique identifier of the resource.
    OrgId string
    Unique identifier of the organization.
    PipelineId string
    Identifier of the pipeline
    ProjectId string
    Unique identifier of the project.
    Yaml string
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
    Description string
    Description of the resource.
    GitDetails Lbrlabs.PulumiPackage.Harness.Platform.Inputs.InputSetGitDetails
    Contains parameters related to creating an Entity for Git Experience.
    Name string
    Name of the resource.
    Tags List<string>
    Tags to associate with the resource.
    Identifier string
    Unique identifier of the resource.
    OrgId string
    Unique identifier of the organization.
    PipelineId string
    Identifier of the pipeline
    ProjectId string
    Unique identifier of the project.
    Yaml string
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
    Description string
    Description of the resource.
    GitDetails InputSetGitDetailsArgs
    Contains parameters related to creating an Entity for Git Experience.
    Name string
    Name of the resource.
    Tags []string
    Tags to associate with the resource.
    identifier String
    Unique identifier of the resource.
    orgId String
    Unique identifier of the organization.
    pipelineId String
    Identifier of the pipeline
    projectId String
    Unique identifier of the project.
    yaml String
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
    description String
    Description of the resource.
    gitDetails InputSetGitDetails
    Contains parameters related to creating an Entity for Git Experience.
    name String
    Name of the resource.
    tags List<String>
    Tags to associate with the resource.
    identifier string
    Unique identifier of the resource.
    orgId string
    Unique identifier of the organization.
    pipelineId string
    Identifier of the pipeline
    projectId string
    Unique identifier of the project.
    yaml string
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
    description string
    Description of the resource.
    gitDetails InputSetGitDetails
    Contains parameters related to creating an Entity for Git Experience.
    name string
    Name of the resource.
    tags string[]
    Tags to associate with the resource.
    identifier str
    Unique identifier of the resource.
    org_id str
    Unique identifier of the organization.
    pipeline_id str
    Identifier of the pipeline
    project_id str
    Unique identifier of the project.
    yaml str
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
    description str
    Description of the resource.
    git_details InputSetGitDetailsArgs
    Contains parameters related to creating an Entity for Git Experience.
    name str
    Name of the resource.
    tags Sequence[str]
    Tags to associate with the resource.
    identifier String
    Unique identifier of the resource.
    orgId String
    Unique identifier of the organization.
    pipelineId String
    Identifier of the pipeline
    projectId String
    Unique identifier of the project.
    yaml String
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
    description String
    Description of the resource.
    gitDetails Property Map
    Contains parameters related to creating an Entity for Git Experience.
    name String
    Name of the resource.
    tags List<String>
    Tags to associate with the resource.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InputSet resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing InputSet Resource

    Get an existing InputSet resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: InputSetState, opts?: CustomResourceOptions): InputSet
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            description: Optional[str] = None,
            git_details: Optional[InputSetGitDetailsArgs] = None,
            identifier: Optional[str] = None,
            name: Optional[str] = None,
            org_id: Optional[str] = None,
            pipeline_id: Optional[str] = None,
            project_id: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            yaml: Optional[str] = None) -> InputSet
    func GetInputSet(ctx *Context, name string, id IDInput, state *InputSetState, opts ...ResourceOption) (*InputSet, error)
    public static InputSet Get(string name, Input<string> id, InputSetState? state, CustomResourceOptions? opts = null)
    public static InputSet get(String name, Output<String> id, InputSetState state, CustomResourceOptions options)
    Resource lookup is not supported in YAML
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Description string
    Description of the resource.
    GitDetails Lbrlabs.PulumiPackage.Harness.Platform.Inputs.InputSetGitDetails
    Contains parameters related to creating an Entity for Git Experience.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    PipelineId string
    Identifier of the pipeline
    ProjectId string
    Unique identifier of the project.
    Tags List<string>
    Tags to associate with the resource.
    Yaml string
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
    Description string
    Description of the resource.
    GitDetails InputSetGitDetailsArgs
    Contains parameters related to creating an Entity for Git Experience.
    Identifier string
    Unique identifier of the resource.
    Name string
    Name of the resource.
    OrgId string
    Unique identifier of the organization.
    PipelineId string
    Identifier of the pipeline
    ProjectId string
    Unique identifier of the project.
    Tags []string
    Tags to associate with the resource.
    Yaml string
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
    description String
    Description of the resource.
    gitDetails InputSetGitDetails
    Contains parameters related to creating an Entity for Git Experience.
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    pipelineId String
    Identifier of the pipeline
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    yaml String
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
    description string
    Description of the resource.
    gitDetails InputSetGitDetails
    Contains parameters related to creating an Entity for Git Experience.
    identifier string
    Unique identifier of the resource.
    name string
    Name of the resource.
    orgId string
    Unique identifier of the organization.
    pipelineId string
    Identifier of the pipeline
    projectId string
    Unique identifier of the project.
    tags string[]
    Tags to associate with the resource.
    yaml string
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
    description str
    Description of the resource.
    git_details InputSetGitDetailsArgs
    Contains parameters related to creating an Entity for Git Experience.
    identifier str
    Unique identifier of the resource.
    name str
    Name of the resource.
    org_id str
    Unique identifier of the organization.
    pipeline_id str
    Identifier of the pipeline
    project_id str
    Unique identifier of the project.
    tags Sequence[str]
    Tags to associate with the resource.
    yaml str
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.
    description String
    Description of the resource.
    gitDetails Property Map
    Contains parameters related to creating an Entity for Git Experience.
    identifier String
    Unique identifier of the resource.
    name String
    Name of the resource.
    orgId String
    Unique identifier of the organization.
    pipelineId String
    Identifier of the pipeline
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    yaml String
    Input Set YAML. In YAML, to reference an entity at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference an entity at the account scope, prefix 'account` to the expression: account.{identifier}. For eg, to reference a connector with identifier 'connectorId' at the organization scope in a stage mention it as connectorRef: org.connectorId.

    Supporting Types

    InputSetGitDetails, InputSetGitDetailsArgs

    BaseBranch string
    Name of the default branch (this checks out a new branch titled by branch_name).
    BranchName string
    Name of the branch.
    CommitMessage string
    Commit message used for the merge commit.
    ConnectorRef string
    Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    FilePath string
    File path of the Entity in the repository.
    LastCommitId string
    Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
    LastObjectId string
    Last object identifier (for Github). To be provided only when updating Pipeline.
    ParentEntityConnectorRef string
    Connector reference for Parent Entity (Pipeline). To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    ParentEntityRepoName string
    Repository name for Parent Entity (Pipeline).
    RepoName string
    Name of the repository.
    StoreType string
    Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
    BaseBranch string
    Name of the default branch (this checks out a new branch titled by branch_name).
    BranchName string
    Name of the branch.
    CommitMessage string
    Commit message used for the merge commit.
    ConnectorRef string
    Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    FilePath string
    File path of the Entity in the repository.
    LastCommitId string
    Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
    LastObjectId string
    Last object identifier (for Github). To be provided only when updating Pipeline.
    ParentEntityConnectorRef string
    Connector reference for Parent Entity (Pipeline). To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    ParentEntityRepoName string
    Repository name for Parent Entity (Pipeline).
    RepoName string
    Name of the repository.
    StoreType string
    Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
    baseBranch String
    Name of the default branch (this checks out a new branch titled by branch_name).
    branchName String
    Name of the branch.
    commitMessage String
    Commit message used for the merge commit.
    connectorRef String
    Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    filePath String
    File path of the Entity in the repository.
    lastCommitId String
    Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
    lastObjectId String
    Last object identifier (for Github). To be provided only when updating Pipeline.
    parentEntityConnectorRef String
    Connector reference for Parent Entity (Pipeline). To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    parentEntityRepoName String
    Repository name for Parent Entity (Pipeline).
    repoName String
    Name of the repository.
    storeType String
    Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
    baseBranch string
    Name of the default branch (this checks out a new branch titled by branch_name).
    branchName string
    Name of the branch.
    commitMessage string
    Commit message used for the merge commit.
    connectorRef string
    Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    filePath string
    File path of the Entity in the repository.
    lastCommitId string
    Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
    lastObjectId string
    Last object identifier (for Github). To be provided only when updating Pipeline.
    parentEntityConnectorRef string
    Connector reference for Parent Entity (Pipeline). To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    parentEntityRepoName string
    Repository name for Parent Entity (Pipeline).
    repoName string
    Name of the repository.
    storeType string
    Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
    base_branch str
    Name of the default branch (this checks out a new branch titled by branch_name).
    branch_name str
    Name of the branch.
    commit_message str
    Commit message used for the merge commit.
    connector_ref str
    Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    file_path str
    File path of the Entity in the repository.
    last_commit_id str
    Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
    last_object_id str
    Last object identifier (for Github). To be provided only when updating Pipeline.
    parent_entity_connector_ref str
    Connector reference for Parent Entity (Pipeline). To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    parent_entity_repo_name str
    Repository name for Parent Entity (Pipeline).
    repo_name str
    Name of the repository.
    store_type str
    Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
    baseBranch String
    Name of the default branch (this checks out a new branch titled by branch_name).
    branchName String
    Name of the branch.
    commitMessage String
    Commit message used for the merge commit.
    connectorRef String
    Identifier of the Harness Connector used for CRUD operations on the Entity. To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    filePath String
    File path of the Entity in the repository.
    lastCommitId String
    Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
    lastObjectId String
    Last object identifier (for Github). To be provided only when updating Pipeline.
    parentEntityConnectorRef String
    Connector reference for Parent Entity (Pipeline). To reference a connector at the organization scope, prefix 'org' to the expression: org.{identifier}. To reference a connector at the account scope, prefix 'account` to the expression: account.{identifier}.
    parentEntityRepoName String
    Repository name for Parent Entity (Pipeline).
    repoName String
    Name of the repository.
    storeType String
    Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.

    Import

    Import input set

     $ pulumi import harness:platform/inputSet:InputSet example <org_id>/<project_id>/<pipeline_id>/<input_set_id>
    

    Package Details

    Repository
    harness lbrlabs/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Harness v0.0.6 published on Saturday, Jul 1, 2023 by lbrlabs