1. Packages
  2. Harness Provider
  3. API Docs
  4. platform
  5. getInfraModules
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.11.8
published on Friday, Mar 27, 2026 by Pulumi

    Data source for retrieving a list of modules from the module registry.

    Example Usage

    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    Example coming soon!
    
    variables:
      test:
        fn::invoke:
          function: harness:platform:getInfraModule
          arguments:
            identifier: identifier
            name: name
            system: system
    

    Using getInfraModules

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getInfraModules(opts?: InvokeOptions): Promise<GetInfraModulesResult>
    function getInfraModulesOutput(opts?: InvokeOptions): Output<GetInfraModulesResult>
    def get_infra_modules(opts: Optional[InvokeOptions] = None) -> GetInfraModulesResult
    def get_infra_modules_output(opts: Optional[InvokeOptions] = None) -> Output[GetInfraModulesResult]
    func GetInfraModules(ctx *Context, opts ...InvokeOption) (*GetInfraModulesResult, error)
    func GetInfraModulesOutput(ctx *Context, opts ...InvokeOption) GetInfraModulesResultOutput

    > Note: This function is named GetInfraModules in the Go SDK.

    public static class GetInfraModules 
    {
        public static Task<GetInfraModulesResult> InvokeAsync(InvokeOptions? opts = null)
        public static Output<GetInfraModulesResult> Invoke(InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetInfraModulesResult> getInfraModules(InvokeOptions options)
    public static Output<GetInfraModulesResult> getInfraModules(InvokeOptions options)
    
    fn::invoke:
      function: harness:platform/getInfraModules:getInfraModules
      arguments:
        # arguments dictionary

    getInfraModules Result

    The following output properties are available:

    Id string
    The provider-assigned unique ID for this managed resource.
    Modules List<GetInfraModulesModule>
    List of modules
    Id string
    The provider-assigned unique ID for this managed resource.
    Modules []GetInfraModulesModule
    List of modules
    id String
    The provider-assigned unique ID for this managed resource.
    modules List<GetInfraModulesModule>
    List of modules
    id string
    The provider-assigned unique ID for this managed resource.
    modules GetInfraModulesModule[]
    List of modules
    id str
    The provider-assigned unique ID for this managed resource.
    modules Sequence[GetInfraModulesModule]
    List of modules
    id String
    The provider-assigned unique ID for this managed resource.
    modules List<Property Map>
    List of modules

    Supporting Types

    GetInfraModulesModule

    Account string
    Account that owns the module
    ConnectorOrg string
    Repository connector orgoanization
    ConnectorProject string
    Repository connector project
    Created int
    Timestamp when the module was created
    Description string
    Description of the module
    Id string
    Identifier of the module
    Name string
    Name of the module
    Repository string
    Repository name where the module is stored
    RepositoryBranch string
    Repository branch
    RepositoryCommit string
    Repository commit
    RepositoryConnector string
    Repository connector reference
    RepositoryPath string
    Path within repository
    RepositoryUrl string
    Repository URL
    StorageType string
    How to store the artifact.
    Synced int
    Timestamp when the module was last synced
    System string
    Provider of the module
    Tags string
    Tags associated with the module
    TestingEnabled bool
    Whether testing is enabled for the module
    Updated int
    Timestamp when the module was last modified
    OnboardingPipeline string
    Onboarding Pipeline identifier.
    OnboardingPipelineOrg string
    Onboarding Pipeline organization.
    OnboardingPipelineProject string
    Onboarding Pipeline project.
    OnboardingPipelineSync bool
    Sync the project automatically.
    Account string
    Account that owns the module
    ConnectorOrg string
    Repository connector orgoanization
    ConnectorProject string
    Repository connector project
    Created int
    Timestamp when the module was created
    Description string
    Description of the module
    Id string
    Identifier of the module
    Name string
    Name of the module
    Repository string
    Repository name where the module is stored
    RepositoryBranch string
    Repository branch
    RepositoryCommit string
    Repository commit
    RepositoryConnector string
    Repository connector reference
    RepositoryPath string
    Path within repository
    RepositoryUrl string
    Repository URL
    StorageType string
    How to store the artifact.
    Synced int
    Timestamp when the module was last synced
    System string
    Provider of the module
    Tags string
    Tags associated with the module
    TestingEnabled bool
    Whether testing is enabled for the module
    Updated int
    Timestamp when the module was last modified
    OnboardingPipeline string
    Onboarding Pipeline identifier.
    OnboardingPipelineOrg string
    Onboarding Pipeline organization.
    OnboardingPipelineProject string
    Onboarding Pipeline project.
    OnboardingPipelineSync bool
    Sync the project automatically.
    account String
    Account that owns the module
    connectorOrg String
    Repository connector orgoanization
    connectorProject String
    Repository connector project
    created Integer
    Timestamp when the module was created
    description String
    Description of the module
    id String
    Identifier of the module
    name String
    Name of the module
    repository String
    Repository name where the module is stored
    repositoryBranch String
    Repository branch
    repositoryCommit String
    Repository commit
    repositoryConnector String
    Repository connector reference
    repositoryPath String
    Path within repository
    repositoryUrl String
    Repository URL
    storageType String
    How to store the artifact.
    synced Integer
    Timestamp when the module was last synced
    system String
    Provider of the module
    tags String
    Tags associated with the module
    testingEnabled Boolean
    Whether testing is enabled for the module
    updated Integer
    Timestamp when the module was last modified
    onboardingPipeline String
    Onboarding Pipeline identifier.
    onboardingPipelineOrg String
    Onboarding Pipeline organization.
    onboardingPipelineProject String
    Onboarding Pipeline project.
    onboardingPipelineSync Boolean
    Sync the project automatically.
    account string
    Account that owns the module
    connectorOrg string
    Repository connector orgoanization
    connectorProject string
    Repository connector project
    created number
    Timestamp when the module was created
    description string
    Description of the module
    id string
    Identifier of the module
    name string
    Name of the module
    repository string
    Repository name where the module is stored
    repositoryBranch string
    Repository branch
    repositoryCommit string
    Repository commit
    repositoryConnector string
    Repository connector reference
    repositoryPath string
    Path within repository
    repositoryUrl string
    Repository URL
    storageType string
    How to store the artifact.
    synced number
    Timestamp when the module was last synced
    system string
    Provider of the module
    tags string
    Tags associated with the module
    testingEnabled boolean
    Whether testing is enabled for the module
    updated number
    Timestamp when the module was last modified
    onboardingPipeline string
    Onboarding Pipeline identifier.
    onboardingPipelineOrg string
    Onboarding Pipeline organization.
    onboardingPipelineProject string
    Onboarding Pipeline project.
    onboardingPipelineSync boolean
    Sync the project automatically.
    account str
    Account that owns the module
    connector_org str
    Repository connector orgoanization
    connector_project str
    Repository connector project
    created int
    Timestamp when the module was created
    description str
    Description of the module
    id str
    Identifier of the module
    name str
    Name of the module
    repository str
    Repository name where the module is stored
    repository_branch str
    Repository branch
    repository_commit str
    Repository commit
    repository_connector str
    Repository connector reference
    repository_path str
    Path within repository
    repository_url str
    Repository URL
    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
    Tags associated with the module
    testing_enabled bool
    Whether testing is enabled for the module
    updated int
    Timestamp when the module was last modified
    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.
    account String
    Account that owns the module
    connectorOrg String
    Repository connector orgoanization
    connectorProject String
    Repository connector project
    created Number
    Timestamp when the module was created
    description String
    Description of the module
    id String
    Identifier of the module
    name String
    Name of the module
    repository String
    Repository name where the module is stored
    repositoryBranch String
    Repository branch
    repositoryCommit String
    Repository commit
    repositoryConnector String
    Repository connector reference
    repositoryPath String
    Path within repository
    repositoryUrl String
    Repository URL
    storageType String
    How to store the artifact.
    synced Number
    Timestamp when the module was last synced
    system String
    Provider of the module
    tags String
    Tags associated with the module
    testingEnabled Boolean
    Whether testing is enabled for the module
    updated Number
    Timestamp when the module was last modified
    onboardingPipeline String
    Onboarding Pipeline identifier.
    onboardingPipelineOrg String
    Onboarding Pipeline organization.
    onboardingPipelineProject String
    Onboarding Pipeline project.
    onboardingPipelineSync Boolean
    Sync the project automatically.

    Package Details

    Repository
    harness pulumi/pulumi-harness
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the harness Terraform Provider.
    harness logo
    Viewing docs for Harness v0.11.8
    published on Friday, Mar 27, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.