harness.platform.InputSet
Explore with Pulumi AI
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
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new InputSet(name: string, args: InputSetArgs, opts?: CustomResourceOptions);
@overload
def InputSet(resource_name: str,
args: InputSetArgs,
opts: Optional[ResourceOptions] = None)
@overload
def InputSet(resource_name: str,
opts: Optional[ResourceOptions] = None,
identifier: Optional[str] = None,
org_id: Optional[str] = None,
pipeline_id: Optional[str] = None,
project_id: Optional[str] = None,
yaml: Optional[str] = None,
description: Optional[str] = None,
git_details: Optional[InputSetGitDetailsArgs] = None,
name: Optional[str] = None,
tags: Optional[Sequence[str]] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var inputSetResource = new Harness.Platform.InputSet("inputSetResource", new()
{
Identifier = "string",
OrgId = "string",
PipelineId = "string",
ProjectId = "string",
Yaml = "string",
Description = "string",
GitDetails = new Harness.Platform.Inputs.InputSetGitDetailsArgs
{
BaseBranch = "string",
BranchName = "string",
CommitMessage = "string",
ConnectorRef = "string",
FilePath = "string",
LastCommitId = "string",
LastObjectId = "string",
ParentEntityConnectorRef = "string",
ParentEntityRepoName = "string",
RepoName = "string",
StoreType = "string",
},
Name = "string",
Tags = new[]
{
"string",
},
});
example, err := platform.NewInputSet(ctx, "inputSetResource", &platform.InputSetArgs{
Identifier: pulumi.String("string"),
OrgId: pulumi.String("string"),
PipelineId: pulumi.String("string"),
ProjectId: pulumi.String("string"),
Yaml: pulumi.String("string"),
Description: pulumi.String("string"),
GitDetails: &platform.InputSetGitDetailsArgs{
BaseBranch: pulumi.String("string"),
BranchName: pulumi.String("string"),
CommitMessage: pulumi.String("string"),
ConnectorRef: pulumi.String("string"),
FilePath: pulumi.String("string"),
LastCommitId: pulumi.String("string"),
LastObjectId: pulumi.String("string"),
ParentEntityConnectorRef: pulumi.String("string"),
ParentEntityRepoName: pulumi.String("string"),
RepoName: pulumi.String("string"),
StoreType: pulumi.String("string"),
},
Name: pulumi.String("string"),
Tags: pulumi.StringArray{
pulumi.String("string"),
},
})
var inputSetResource = new InputSet("inputSetResource", InputSetArgs.builder()
.identifier("string")
.orgId("string")
.pipelineId("string")
.projectId("string")
.yaml("string")
.description("string")
.gitDetails(InputSetGitDetailsArgs.builder()
.baseBranch("string")
.branchName("string")
.commitMessage("string")
.connectorRef("string")
.filePath("string")
.lastCommitId("string")
.lastObjectId("string")
.parentEntityConnectorRef("string")
.parentEntityRepoName("string")
.repoName("string")
.storeType("string")
.build())
.name("string")
.tags("string")
.build());
input_set_resource = harness.platform.InputSet("inputSetResource",
identifier="string",
org_id="string",
pipeline_id="string",
project_id="string",
yaml="string",
description="string",
git_details=harness.platform.InputSetGitDetailsArgs(
base_branch="string",
branch_name="string",
commit_message="string",
connector_ref="string",
file_path="string",
last_commit_id="string",
last_object_id="string",
parent_entity_connector_ref="string",
parent_entity_repo_name="string",
repo_name="string",
store_type="string",
),
name="string",
tags=["string"])
const inputSetResource = new harness.platform.InputSet("inputSetResource", {
identifier: "string",
orgId: "string",
pipelineId: "string",
projectId: "string",
yaml: "string",
description: "string",
gitDetails: {
baseBranch: "string",
branchName: "string",
commitMessage: "string",
connectorRef: "string",
filePath: "string",
lastCommitId: "string",
lastObjectId: "string",
parentEntityConnectorRef: "string",
parentEntityRepoName: "string",
repoName: "string",
storeType: "string",
},
name: "string",
tags: ["string"],
});
type: harness:platform:InputSet
properties:
description: string
gitDetails:
baseBranch: string
branchName: string
commitMessage: string
connectorRef: string
filePath: string
lastCommitId: string
lastObjectId: string
parentEntityConnectorRef: string
parentEntityRepoName: string
repoName: string
storeType: string
identifier: string
name: string
orgId: string
pipelineId: string
projectId: string
tags:
- string
yaml: string
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.
- Org
Id string - Unique identifier of the organization.
- Pipeline
Id string - Identifier of the pipeline
- Project
Id 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.
- Git
Details Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Input Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- Name string
- Name of the resource.
- List<string>
- Tags to associate with the resource.
- Identifier string
- Unique identifier of the resource.
- Org
Id string - Unique identifier of the organization.
- Pipeline
Id string - Identifier of the pipeline
- Project
Id 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.
- Git
Details InputSet Git Details Args - Contains parameters related to creating an Entity for Git Experience.
- Name string
- Name of the resource.
- []string
- Tags to associate with the resource.
- identifier String
- Unique identifier of the resource.
- org
Id String - Unique identifier of the organization.
- pipeline
Id String - Identifier of the pipeline
- project
Id 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.
- git
Details InputSet Git Details - Contains parameters related to creating an Entity for Git Experience.
- name String
- Name of the resource.
- List<String>
- Tags to associate with the resource.
- identifier string
- Unique identifier of the resource.
- org
Id string - Unique identifier of the organization.
- pipeline
Id string - Identifier of the pipeline
- project
Id 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.
- git
Details InputSet Git Details - Contains parameters related to creating an Entity for Git Experience.
- name string
- Name of the resource.
- 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 InputSet Git Details Args - Contains parameters related to creating an Entity for Git Experience.
- name str
- Name of the resource.
- Sequence[str]
- Tags to associate with the resource.
- identifier String
- Unique identifier of the resource.
- org
Id String - Unique identifier of the organization.
- pipeline
Id String - Identifier of the pipeline
- project
Id 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.
- git
Details Property Map - Contains parameters related to creating an Entity for Git Experience.
- name String
- Name of the resource.
- 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.
- Description string
- Description of the resource.
- Git
Details Lbrlabs.Pulumi Package. Harness. Platform. Inputs. Input Set Git Details - Contains parameters related to creating an Entity for Git Experience.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Pipeline
Id string - Identifier of the pipeline
- Project
Id string - Unique identifier of the project.
- 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.
- Git
Details InputSet Git Details Args - Contains parameters related to creating an Entity for Git Experience.
- Identifier string
- Unique identifier of the resource.
- Name string
- Name of the resource.
- Org
Id string - Unique identifier of the organization.
- Pipeline
Id string - Identifier of the pipeline
- Project
Id string - Unique identifier of the project.
- []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.
- git
Details InputSet Git Details - Contains parameters related to creating an Entity for Git Experience.
- identifier String
- Unique identifier of the resource.
- name String
- Name of the resource.
- org
Id String - Unique identifier of the organization.
- pipeline
Id String - Identifier of the pipeline
- project
Id String - Unique identifier of the project.
- 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.
- git
Details InputSet Git Details - Contains parameters related to creating an Entity for Git Experience.
- identifier string
- Unique identifier of the resource.
- name string
- Name of the resource.
- org
Id string - Unique identifier of the organization.
- pipeline
Id string - Identifier of the pipeline
- project
Id string - Unique identifier of the project.
- 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 InputSet Git Details Args - 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.
- 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.
- git
Details 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.
- org
Id String - Unique identifier of the organization.
- pipeline
Id String - Identifier of the pipeline
- project
Id String - Unique identifier of the project.
- 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
- Base
Branch string - Name of the default branch (this checks out a new branch titled by branch_name).
- Branch
Name string - Name of the branch.
- Commit
Message string - Commit message used for the merge commit.
- Connector
Ref 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}.
- File
Path string - File path of the Entity in the repository.
- Last
Commit stringId - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- Last
Object stringId - Last object identifier (for Github). To be provided only when updating Pipeline.
- Parent
Entity stringConnector Ref - 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 stringRepo Name - Repository name for Parent Entity (Pipeline).
- Repo
Name string - Name of the repository.
- Store
Type string - Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- Base
Branch string - Name of the default branch (this checks out a new branch titled by branch_name).
- Branch
Name string - Name of the branch.
- Commit
Message string - Commit message used for the merge commit.
- Connector
Ref 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}.
- File
Path string - File path of the Entity in the repository.
- Last
Commit stringId - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- Last
Object stringId - Last object identifier (for Github). To be provided only when updating Pipeline.
- Parent
Entity stringConnector Ref - 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 stringRepo Name - Repository name for Parent Entity (Pipeline).
- Repo
Name string - Name of the repository.
- Store
Type string - Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- base
Branch String - Name of the default branch (this checks out a new branch titled by branch_name).
- branch
Name String - Name of the branch.
- commit
Message String - Commit message used for the merge commit.
- connector
Ref 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}.
- file
Path String - File path of the Entity in the repository.
- last
Commit StringId - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- last
Object StringId - Last object identifier (for Github). To be provided only when updating Pipeline.
- parent
Entity StringConnector Ref - 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 StringRepo Name - Repository name for Parent Entity (Pipeline).
- repo
Name String - Name of the repository.
- store
Type String - Specifies whether the Entity is to be stored in Git or not. Possible values: INLINE, REMOTE.
- base
Branch string - Name of the default branch (this checks out a new branch titled by branch_name).
- branch
Name string - Name of the branch.
- commit
Message string - Commit message used for the merge commit.
- connector
Ref 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}.
- file
Path string - File path of the Entity in the repository.
- last
Commit stringId - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- last
Object stringId - Last object identifier (for Github). To be provided only when updating Pipeline.
- parent
Entity stringConnector Ref - 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 stringRepo Name - Repository name for Parent Entity (Pipeline).
- repo
Name string - Name of the repository.
- store
Type 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_ strid - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- last_
object_ strid - Last object identifier (for Github). To be provided only when updating Pipeline.
- parent_
entity_ strconnector_ ref - 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_ strrepo_ name - 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.
- base
Branch String - Name of the default branch (this checks out a new branch titled by branch_name).
- branch
Name String - Name of the branch.
- commit
Message String - Commit message used for the merge commit.
- connector
Ref 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}.
- file
Path String - File path of the Entity in the repository.
- last
Commit StringId - Last commit identifier (for Git Repositories other than Github). To be provided only when updating Pipeline.
- last
Object StringId - Last object identifier (for Github). To be provided only when updating Pipeline.
- parent
Entity StringConnector Ref - 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 StringRepo Name - Repository name for Parent Entity (Pipeline).
- repo
Name String - Name of the repository.
- store
Type 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>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- harness lbrlabs/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harness
Terraform Provider.