1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. InfraModule
Harness v0.11.3 published on Friday, Feb 13, 2026 by Pulumi
harness logo
Harness v0.11.3 published on Friday, Feb 13, 2026 by Pulumi

    Resource for managing Terraform/Tofu Modules.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const example = new harness.platform.InfraModule("example", {
        description: "example",
        name: "name",
        system: "provider",
        repository: "https://github.com/org/repo",
        repositoryBranch: "main",
        repositoryPath: "tf/aws/basic",
        repositoryConnector: test.id,
        onboardingPipeline: "my_onboarding_pipeline",
        onboardingPipelineOrg: "default",
        onboardingPipelineProject: "IaCM_Project",
        onboardingPipelineSync: true,
        storageType: "harness",
        connectorOrg: "default",
        connectorProject: "my_project",
    });
    
    import pulumi
    import pulumi_harness as harness
    
    example = harness.platform.InfraModule("example",
        description="example",
        name="name",
        system="provider",
        repository="https://github.com/org/repo",
        repository_branch="main",
        repository_path="tf/aws/basic",
        repository_connector=test["id"],
        onboarding_pipeline="my_onboarding_pipeline",
        onboarding_pipeline_org="default",
        onboarding_pipeline_project="IaCM_Project",
        onboarding_pipeline_sync=True,
        storage_type="harness",
        connector_org="default",
        connector_project="my_project")
    
    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.NewInfraModule(ctx, "example", &platform.InfraModuleArgs{
    			Description:               pulumi.String("example"),
    			Name:                      pulumi.String("name"),
    			System:                    pulumi.String("provider"),
    			Repository:                pulumi.String("https://github.com/org/repo"),
    			RepositoryBranch:          pulumi.String("main"),
    			RepositoryPath:            pulumi.String("tf/aws/basic"),
    			RepositoryConnector:       pulumi.Any(test.Id),
    			OnboardingPipeline:        pulumi.String("my_onboarding_pipeline"),
    			OnboardingPipelineOrg:     pulumi.String("default"),
    			OnboardingPipelineProject: pulumi.String("IaCM_Project"),
    			OnboardingPipelineSync:    pulumi.Bool(true),
    			StorageType:               pulumi.String("harness"),
    			ConnectorOrg:              pulumi.String("default"),
    			ConnectorProject:          pulumi.String("my_project"),
    		})
    		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 = new Harness.Platform.InfraModule("example", new()
        {
            Description = "example",
            Name = "name",
            System = "provider",
            Repository = "https://github.com/org/repo",
            RepositoryBranch = "main",
            RepositoryPath = "tf/aws/basic",
            RepositoryConnector = test.Id,
            OnboardingPipeline = "my_onboarding_pipeline",
            OnboardingPipelineOrg = "default",
            OnboardingPipelineProject = "IaCM_Project",
            OnboardingPipelineSync = true,
            StorageType = "harness",
            ConnectorOrg = "default",
            ConnectorProject = "my_project",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.InfraModule;
    import com.pulumi.harness.platform.InfraModuleArgs;
    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 InfraModule("example", InfraModuleArgs.builder()
                .description("example")
                .name("name")
                .system("provider")
                .repository("https://github.com/org/repo")
                .repositoryBranch("main")
                .repositoryPath("tf/aws/basic")
                .repositoryConnector(test.id())
                .onboardingPipeline("my_onboarding_pipeline")
                .onboardingPipelineOrg("default")
                .onboardingPipelineProject("IaCM_Project")
                .onboardingPipelineSync(true)
                .storageType("harness")
                .connectorOrg("default")
                .connectorProject("my_project")
                .build());
    
        }
    }
    
    resources:
      example:
        type: harness:platform:InfraModule
        properties:
          description: example
          name: name
          system: provider
          repository: https://github.com/org/repo
          repositoryBranch: main
          repositoryPath: tf/aws/basic
          repositoryConnector: ${test.id}
          onboardingPipeline: my_onboarding_pipeline
          onboardingPipelineOrg: default
          onboardingPipelineProject: IaCM_Project
          onboardingPipelineSync: true
          storageType: harness
          connectorOrg: default
          connectorProject: my_project
    

    Create InfraModule Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new InfraModule(name: string, args: InfraModuleArgs, opts?: CustomResourceOptions);
    @overload
    def InfraModule(resource_name: str,
                    args: InfraModuleArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def InfraModule(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    system: Optional[str] = None,
                    repository: Optional[str] = None,
                    created: Optional[int] = None,
                    description: Optional[str] = None,
                    git_tag_style: Optional[str] = None,
                    name: Optional[str] = None,
                    onboarding_pipeline: Optional[str] = None,
                    onboarding_pipeline_org: Optional[str] = None,
                    onboarding_pipeline_project: Optional[str] = None,
                    connector_org: Optional[str] = None,
                    onboarding_pipeline_sync: Optional[bool] = None,
                    repository_connector: Optional[str] = None,
                    repository_commit: Optional[str] = None,
                    repository_branch: Optional[str] = None,
                    repository_path: Optional[str] = None,
                    repository_url: Optional[str] = None,
                    storage_type: Optional[str] = None,
                    synced: Optional[int] = None,
                    connector_project: Optional[str] = None,
                    tags: Optional[str] = None,
                    versions: Optional[Sequence[str]] = None)
    func NewInfraModule(ctx *Context, name string, args InfraModuleArgs, opts ...ResourceOption) (*InfraModule, error)
    public InfraModule(string name, InfraModuleArgs args, CustomResourceOptions? opts = null)
    public InfraModule(String name, InfraModuleArgs args)
    public InfraModule(String name, InfraModuleArgs args, CustomResourceOptions options)
    
    type: harness:platform:InfraModule
    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 InfraModuleArgs
    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 InfraModuleArgs
    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 InfraModuleArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InfraModuleArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InfraModuleArgs
    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 infraModuleResource = new Harness.Platform.InfraModule("infraModuleResource", new()
    {
        System = "string",
        Repository = "string",
        Created = 0,
        Description = "string",
        GitTagStyle = "string",
        Name = "string",
        OnboardingPipeline = "string",
        OnboardingPipelineOrg = "string",
        OnboardingPipelineProject = "string",
        ConnectorOrg = "string",
        OnboardingPipelineSync = false,
        RepositoryConnector = "string",
        RepositoryCommit = "string",
        RepositoryBranch = "string",
        RepositoryPath = "string",
        RepositoryUrl = "string",
        StorageType = "string",
        Synced = 0,
        ConnectorProject = "string",
        Tags = "string",
        Versions = new[]
        {
            "string",
        },
    });
    
    example, err := platform.NewInfraModule(ctx, "infraModuleResource", &platform.InfraModuleArgs{
    	System:                    pulumi.String("string"),
    	Repository:                pulumi.String("string"),
    	Created:                   pulumi.Int(0),
    	Description:               pulumi.String("string"),
    	GitTagStyle:               pulumi.String("string"),
    	Name:                      pulumi.String("string"),
    	OnboardingPipeline:        pulumi.String("string"),
    	OnboardingPipelineOrg:     pulumi.String("string"),
    	OnboardingPipelineProject: pulumi.String("string"),
    	ConnectorOrg:              pulumi.String("string"),
    	OnboardingPipelineSync:    pulumi.Bool(false),
    	RepositoryConnector:       pulumi.String("string"),
    	RepositoryCommit:          pulumi.String("string"),
    	RepositoryBranch:          pulumi.String("string"),
    	RepositoryPath:            pulumi.String("string"),
    	RepositoryUrl:             pulumi.String("string"),
    	StorageType:               pulumi.String("string"),
    	Synced:                    pulumi.Int(0),
    	ConnectorProject:          pulumi.String("string"),
    	Tags:                      pulumi.String("string"),
    	Versions: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    })
    
    var infraModuleResource = new InfraModule("infraModuleResource", InfraModuleArgs.builder()
        .system("string")
        .repository("string")
        .created(0)
        .description("string")
        .gitTagStyle("string")
        .name("string")
        .onboardingPipeline("string")
        .onboardingPipelineOrg("string")
        .onboardingPipelineProject("string")
        .connectorOrg("string")
        .onboardingPipelineSync(false)
        .repositoryConnector("string")
        .repositoryCommit("string")
        .repositoryBranch("string")
        .repositoryPath("string")
        .repositoryUrl("string")
        .storageType("string")
        .synced(0)
        .connectorProject("string")
        .tags("string")
        .versions("string")
        .build());
    
    infra_module_resource = harness.platform.InfraModule("infraModuleResource",
        system="string",
        repository="string",
        created=0,
        description="string",
        git_tag_style="string",
        name="string",
        onboarding_pipeline="string",
        onboarding_pipeline_org="string",
        onboarding_pipeline_project="string",
        connector_org="string",
        onboarding_pipeline_sync=False,
        repository_connector="string",
        repository_commit="string",
        repository_branch="string",
        repository_path="string",
        repository_url="string",
        storage_type="string",
        synced=0,
        connector_project="string",
        tags="string",
        versions=["string"])
    
    const infraModuleResource = new harness.platform.InfraModule("infraModuleResource", {
        system: "string",
        repository: "string",
        created: 0,
        description: "string",
        gitTagStyle: "string",
        name: "string",
        onboardingPipeline: "string",
        onboardingPipelineOrg: "string",
        onboardingPipelineProject: "string",
        connectorOrg: "string",
        onboardingPipelineSync: false,
        repositoryConnector: "string",
        repositoryCommit: "string",
        repositoryBranch: "string",
        repositoryPath: "string",
        repositoryUrl: "string",
        storageType: "string",
        synced: 0,
        connectorProject: "string",
        tags: "string",
        versions: ["string"],
    });
    
    type: harness:platform:InfraModule
    properties:
        connectorOrg: string
        connectorProject: string
        created: 0
        description: string
        gitTagStyle: string
        name: string
        onboardingPipeline: string
        onboardingPipelineOrg: string
        onboardingPipelineProject: string
        onboardingPipelineSync: false
        repository: string
        repositoryBranch: string
        repositoryCommit: string
        repositoryConnector: string
        repositoryPath: string
        repositoryUrl: string
        storageType: string
        synced: 0
        system: string
        tags: string
        versions:
            - string
    

    InfraModule Resource Properties

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

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The InfraModule resource accepts the following input properties:

    System string
    Provider of the module.
    ConnectorOrg string
    Connector organization.
    ConnectorProject string
    Connector project.
    Created int
    Timestamp when the module was created.
    Description string
    Description of the module.
    GitTagStyle string
    Git Tag Style.
    Name string
    Name of the module.
    OnboardingPipeline string
    Onboarding Pipeline identifier.
    OnboardingPipelineOrg string
    Onboarding Pipeline organization.
    OnboardingPipelineProject string
    Onboarding Pipeline project.
    OnboardingPipelineSync bool
    Sync the project automatically.
    Repository string
    For account connectors, the repository where the module can be found
    RepositoryBranch string
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    RepositoryCommit string
    Tag to fetch the code from. This cannot be set if repository branch is set.
    RepositoryConnector string
    Reference to the connector to be used to fetch the code.
    RepositoryPath string
    Path to the module within the repository.
    RepositoryUrl string
    URL of the repository where the module is stored.
    StorageType string
    How to store the artifact.
    Synced int
    Timestamp when the module was last synced.
    Tags string
    Git tags associated with the module.
    Versions List<string>
    List of versions of the module.
    System string
    Provider of the module.
    ConnectorOrg string
    Connector organization.
    ConnectorProject string
    Connector project.
    Created int
    Timestamp when the module was created.
    Description string
    Description of the module.
    GitTagStyle string
    Git Tag Style.
    Name string
    Name of the module.
    OnboardingPipeline string
    Onboarding Pipeline identifier.
    OnboardingPipelineOrg string
    Onboarding Pipeline organization.
    OnboardingPipelineProject string
    Onboarding Pipeline project.
    OnboardingPipelineSync bool
    Sync the project automatically.
    Repository string
    For account connectors, the repository where the module can be found
    RepositoryBranch string
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    RepositoryCommit string
    Tag to fetch the code from. This cannot be set if repository branch is set.
    RepositoryConnector string
    Reference to the connector to be used to fetch the code.
    RepositoryPath string
    Path to the module within the repository.
    RepositoryUrl string
    URL of the repository where the module is stored.
    StorageType string
    How to store the artifact.
    Synced int
    Timestamp when the module was last synced.
    Tags string
    Git tags associated with the module.
    Versions []string
    List of versions of the module.
    system String
    Provider of the module.
    connectorOrg String
    Connector organization.
    connectorProject String
    Connector project.
    created Integer
    Timestamp when the module was created.
    description String
    Description of the module.
    gitTagStyle String
    Git Tag Style.
    name String
    Name of the module.
    onboardingPipeline String
    Onboarding Pipeline identifier.
    onboardingPipelineOrg String
    Onboarding Pipeline organization.
    onboardingPipelineProject String
    Onboarding Pipeline project.
    onboardingPipelineSync Boolean
    Sync the project automatically.
    repository String
    For account connectors, the repository where the module can be found
    repositoryBranch String
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    repositoryCommit String
    Tag to fetch the code from. This cannot be set if repository branch is set.
    repositoryConnector String
    Reference to the connector to be used to fetch the code.
    repositoryPath String
    Path to the module within the repository.
    repositoryUrl String
    URL of the repository where the module is stored.
    storageType String
    How to store the artifact.
    synced Integer
    Timestamp when the module was last synced.
    tags String
    Git tags associated with the module.
    versions List<String>
    List of versions of the module.
    system string
    Provider of the module.
    connectorOrg string
    Connector organization.
    connectorProject string
    Connector project.
    created number
    Timestamp when the module was created.
    description string
    Description of the module.
    gitTagStyle string
    Git Tag Style.
    name string
    Name of the module.
    onboardingPipeline string
    Onboarding Pipeline identifier.
    onboardingPipelineOrg string
    Onboarding Pipeline organization.
    onboardingPipelineProject string
    Onboarding Pipeline project.
    onboardingPipelineSync boolean
    Sync the project automatically.
    repository string
    For account connectors, the repository where the module can be found
    repositoryBranch string
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    repositoryCommit string
    Tag to fetch the code from. This cannot be set if repository branch is set.
    repositoryConnector string
    Reference to the connector to be used to fetch the code.
    repositoryPath string
    Path to the module within the repository.
    repositoryUrl string
    URL of the repository where the module is stored.
    storageType string
    How to store the artifact.
    synced number
    Timestamp when the module was last synced.
    tags string
    Git tags associated with the module.
    versions string[]
    List of versions of the module.
    system str
    Provider of the module.
    connector_org str
    Connector organization.
    connector_project str
    Connector project.
    created int
    Timestamp when the module was created.
    description str
    Description of the module.
    git_tag_style str
    Git Tag Style.
    name str
    Name of the module.
    onboarding_pipeline str
    Onboarding Pipeline identifier.
    onboarding_pipeline_org str
    Onboarding Pipeline organization.
    onboarding_pipeline_project str
    Onboarding Pipeline project.
    onboarding_pipeline_sync bool
    Sync the project automatically.
    repository str
    For account connectors, the repository where the module can be found
    repository_branch str
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    repository_commit str
    Tag to fetch the code from. This cannot be set if repository branch is set.
    repository_connector str
    Reference to the connector to be used to fetch the code.
    repository_path str
    Path to the module within the repository.
    repository_url str
    URL of the repository where the module is stored.
    storage_type str
    How to store the artifact.
    synced int
    Timestamp when the module was last synced.
    tags str
    Git tags associated with the module.
    versions Sequence[str]
    List of versions of the module.
    system String
    Provider of the module.
    connectorOrg String
    Connector organization.
    connectorProject String
    Connector project.
    created Number
    Timestamp when the module was created.
    description String
    Description of the module.
    gitTagStyle String
    Git Tag Style.
    name String
    Name of the module.
    onboardingPipeline String
    Onboarding Pipeline identifier.
    onboardingPipelineOrg String
    Onboarding Pipeline organization.
    onboardingPipelineProject String
    Onboarding Pipeline project.
    onboardingPipelineSync Boolean
    Sync the project automatically.
    repository String
    For account connectors, the repository where the module can be found
    repositoryBranch String
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    repositoryCommit String
    Tag to fetch the code from. This cannot be set if repository branch is set.
    repositoryConnector String
    Reference to the connector to be used to fetch the code.
    repositoryPath String
    Path to the module within the repository.
    repositoryUrl String
    URL of the repository where the module is stored.
    storageType String
    How to store the artifact.
    synced Number
    Timestamp when the module was last synced.
    tags String
    Git tags associated with the module.
    versions List<String>
    List of versions of the module.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InfraModule 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 InfraModule Resource

    Get an existing InfraModule 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?: InfraModuleState, opts?: CustomResourceOptions): InfraModule
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            connector_org: Optional[str] = None,
            connector_project: Optional[str] = None,
            created: Optional[int] = None,
            description: Optional[str] = None,
            git_tag_style: Optional[str] = None,
            name: Optional[str] = None,
            onboarding_pipeline: Optional[str] = None,
            onboarding_pipeline_org: Optional[str] = None,
            onboarding_pipeline_project: Optional[str] = None,
            onboarding_pipeline_sync: Optional[bool] = None,
            repository: Optional[str] = None,
            repository_branch: Optional[str] = None,
            repository_commit: Optional[str] = None,
            repository_connector: Optional[str] = None,
            repository_path: Optional[str] = None,
            repository_url: Optional[str] = None,
            storage_type: Optional[str] = None,
            synced: Optional[int] = None,
            system: Optional[str] = None,
            tags: Optional[str] = None,
            versions: Optional[Sequence[str]] = None) -> InfraModule
    func GetInfraModule(ctx *Context, name string, id IDInput, state *InfraModuleState, opts ...ResourceOption) (*InfraModule, error)
    public static InfraModule Get(string name, Input<string> id, InfraModuleState? state, CustomResourceOptions? opts = null)
    public static InfraModule get(String name, Output<String> id, InfraModuleState state, CustomResourceOptions options)
    resources:  _:    type: harness:platform:InfraModule    get:      id: ${id}
    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:
    ConnectorOrg string
    Connector organization.
    ConnectorProject string
    Connector project.
    Created int
    Timestamp when the module was created.
    Description string
    Description of the module.
    GitTagStyle string
    Git Tag Style.
    Name string
    Name of the module.
    OnboardingPipeline string
    Onboarding Pipeline identifier.
    OnboardingPipelineOrg string
    Onboarding Pipeline organization.
    OnboardingPipelineProject string
    Onboarding Pipeline project.
    OnboardingPipelineSync bool
    Sync the project automatically.
    Repository string
    For account connectors, the repository where the module can be found
    RepositoryBranch string
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    RepositoryCommit string
    Tag to fetch the code from. This cannot be set if repository branch is set.
    RepositoryConnector string
    Reference to the connector to be used to fetch the code.
    RepositoryPath string
    Path to the module within the repository.
    RepositoryUrl string
    URL of the repository where the module is stored.
    StorageType string
    How to store the artifact.
    Synced int
    Timestamp when the module was last synced.
    System string
    Provider of the module.
    Tags string
    Git tags associated with the module.
    Versions List<string>
    List of versions of the module.
    ConnectorOrg string
    Connector organization.
    ConnectorProject string
    Connector project.
    Created int
    Timestamp when the module was created.
    Description string
    Description of the module.
    GitTagStyle string
    Git Tag Style.
    Name string
    Name of the module.
    OnboardingPipeline string
    Onboarding Pipeline identifier.
    OnboardingPipelineOrg string
    Onboarding Pipeline organization.
    OnboardingPipelineProject string
    Onboarding Pipeline project.
    OnboardingPipelineSync bool
    Sync the project automatically.
    Repository string
    For account connectors, the repository where the module can be found
    RepositoryBranch string
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    RepositoryCommit string
    Tag to fetch the code from. This cannot be set if repository branch is set.
    RepositoryConnector string
    Reference to the connector to be used to fetch the code.
    RepositoryPath string
    Path to the module within the repository.
    RepositoryUrl string
    URL of the repository where the module is stored.
    StorageType string
    How to store the artifact.
    Synced int
    Timestamp when the module was last synced.
    System string
    Provider of the module.
    Tags string
    Git tags associated with the module.
    Versions []string
    List of versions of the module.
    connectorOrg String
    Connector organization.
    connectorProject String
    Connector project.
    created Integer
    Timestamp when the module was created.
    description String
    Description of the module.
    gitTagStyle String
    Git Tag Style.
    name String
    Name of the module.
    onboardingPipeline String
    Onboarding Pipeline identifier.
    onboardingPipelineOrg String
    Onboarding Pipeline organization.
    onboardingPipelineProject String
    Onboarding Pipeline project.
    onboardingPipelineSync Boolean
    Sync the project automatically.
    repository String
    For account connectors, the repository where the module can be found
    repositoryBranch String
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    repositoryCommit String
    Tag to fetch the code from. This cannot be set if repository branch is set.
    repositoryConnector String
    Reference to the connector to be used to fetch the code.
    repositoryPath String
    Path to the module within the repository.
    repositoryUrl String
    URL of the repository where the module is stored.
    storageType String
    How to store the artifact.
    synced Integer
    Timestamp when the module was last synced.
    system String
    Provider of the module.
    tags String
    Git tags associated with the module.
    versions List<String>
    List of versions of the module.
    connectorOrg string
    Connector organization.
    connectorProject string
    Connector project.
    created number
    Timestamp when the module was created.
    description string
    Description of the module.
    gitTagStyle string
    Git Tag Style.
    name string
    Name of the module.
    onboardingPipeline string
    Onboarding Pipeline identifier.
    onboardingPipelineOrg string
    Onboarding Pipeline organization.
    onboardingPipelineProject string
    Onboarding Pipeline project.
    onboardingPipelineSync boolean
    Sync the project automatically.
    repository string
    For account connectors, the repository where the module can be found
    repositoryBranch string
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    repositoryCommit string
    Tag to fetch the code from. This cannot be set if repository branch is set.
    repositoryConnector string
    Reference to the connector to be used to fetch the code.
    repositoryPath string
    Path to the module within the repository.
    repositoryUrl string
    URL of the repository where the module is stored.
    storageType string
    How to store the artifact.
    synced number
    Timestamp when the module was last synced.
    system string
    Provider of the module.
    tags string
    Git tags associated with the module.
    versions string[]
    List of versions of the module.
    connector_org str
    Connector organization.
    connector_project str
    Connector project.
    created int
    Timestamp when the module was created.
    description str
    Description of the module.
    git_tag_style str
    Git Tag Style.
    name str
    Name of the module.
    onboarding_pipeline str
    Onboarding Pipeline identifier.
    onboarding_pipeline_org str
    Onboarding Pipeline organization.
    onboarding_pipeline_project str
    Onboarding Pipeline project.
    onboarding_pipeline_sync bool
    Sync the project automatically.
    repository str
    For account connectors, the repository where the module can be found
    repository_branch str
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    repository_commit str
    Tag to fetch the code from. This cannot be set if repository branch is set.
    repository_connector str
    Reference to the connector to be used to fetch the code.
    repository_path str
    Path to the module within the repository.
    repository_url str
    URL of the repository where the module is stored.
    storage_type str
    How to store the artifact.
    synced int
    Timestamp when the module was last synced.
    system str
    Provider of the module.
    tags str
    Git tags associated with the module.
    versions Sequence[str]
    List of versions of the module.
    connectorOrg String
    Connector organization.
    connectorProject String
    Connector project.
    created Number
    Timestamp when the module was created.
    description String
    Description of the module.
    gitTagStyle String
    Git Tag Style.
    name String
    Name of the module.
    onboardingPipeline String
    Onboarding Pipeline identifier.
    onboardingPipelineOrg String
    Onboarding Pipeline organization.
    onboardingPipelineProject String
    Onboarding Pipeline project.
    onboardingPipelineSync Boolean
    Sync the project automatically.
    repository String
    For account connectors, the repository where the module can be found
    repositoryBranch String
    Name of the branch to fetch the code from. This cannot be set if repository commit is set.
    repositoryCommit String
    Tag to fetch the code from. This cannot be set if repository branch is set.
    repositoryConnector String
    Reference to the connector to be used to fetch the code.
    repositoryPath String
    Path to the module within the repository.
    repositoryUrl String
    URL of the repository where the module is stored.
    storageType String
    How to store the artifact.
    synced Number
    Timestamp when the module was last synced.
    system String
    Provider of the module.
    tags String
    Git tags associated with the module.
    versions List<String>
    List of versions of the module.

    Import

    The pulumi import command can be used, for example:

    $ pulumi import harness:platform/infraModule:InfraModule example <module_id>
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

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