Harness v0.9.0 published on Wednesday, Oct 22, 2025 by Pulumi
harness.platform.getInfraModule
Start a Neo task
Explain and create a harness.platform.getInfraModule resource
Data source for retrieving 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 getInfraModule
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 getInfraModule(args: GetInfraModuleArgs, opts?: InvokeOptions): Promise<GetInfraModuleResult>
function getInfraModuleOutput(args: GetInfraModuleOutputArgs, opts?: InvokeOptions): Output<GetInfraModuleResult>def get_infra_module(account: Optional[str] = None,
created: Optional[int] = None,
description: Optional[str] = None,
git_tag_style: Optional[str] = None,
id: Optional[str] = None,
module_error: Optional[str] = None,
name: Optional[str] = None,
org: Optional[str] = None,
project: Optional[str] = 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,
synced: Optional[int] = None,
system: Optional[str] = None,
tags: Optional[str] = None,
testing_enabled: Optional[bool] = None,
testing_metadata: Optional[GetInfraModuleTestingMetadata] = None,
updated: Optional[int] = None,
versions: Optional[Sequence[str]] = None,
opts: Optional[InvokeOptions] = None) -> GetInfraModuleResult
def get_infra_module_output(account: Optional[pulumi.Input[str]] = None,
created: Optional[pulumi.Input[int]] = None,
description: Optional[pulumi.Input[str]] = None,
git_tag_style: Optional[pulumi.Input[str]] = None,
id: Optional[pulumi.Input[str]] = None,
module_error: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
org: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
repository: Optional[pulumi.Input[str]] = None,
repository_branch: Optional[pulumi.Input[str]] = None,
repository_commit: Optional[pulumi.Input[str]] = None,
repository_connector: Optional[pulumi.Input[str]] = None,
repository_path: Optional[pulumi.Input[str]] = None,
repository_url: Optional[pulumi.Input[str]] = None,
synced: Optional[pulumi.Input[int]] = None,
system: Optional[pulumi.Input[str]] = None,
tags: Optional[pulumi.Input[str]] = None,
testing_enabled: Optional[pulumi.Input[bool]] = None,
testing_metadata: Optional[pulumi.Input[GetInfraModuleTestingMetadataArgs]] = None,
updated: Optional[pulumi.Input[int]] = None,
versions: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInfraModuleResult]func LookupInfraModule(ctx *Context, args *LookupInfraModuleArgs, opts ...InvokeOption) (*LookupInfraModuleResult, error)
func LookupInfraModuleOutput(ctx *Context, args *LookupInfraModuleOutputArgs, opts ...InvokeOption) LookupInfraModuleResultOutput> Note: This function is named LookupInfraModule in the Go SDK.
public static class GetInfraModule
{
public static Task<GetInfraModuleResult> InvokeAsync(GetInfraModuleArgs args, InvokeOptions? opts = null)
public static Output<GetInfraModuleResult> Invoke(GetInfraModuleInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInfraModuleResult> getInfraModule(GetInfraModuleArgs args, InvokeOptions options)
public static Output<GetInfraModuleResult> getInfraModule(GetInfraModuleArgs args, InvokeOptions options)
fn::invoke:
function: harness:platform/getInfraModule:getInfraModule
arguments:
# arguments dictionaryThe following arguments are supported:
- Account string
- Account that owns the module
- Id string
- Identifier of the module
- Name string
- Name of the module
- System string
- Provider of the module
- Created int
- Timestamp when the module was created
- Description string
- Description of the module
- string
- Git Tag Style
- Module
Error string - Error while retrieving the module
- Org string
- Organization that owns the module
- Project string
- Project that owns the module
- Repository string
- For account connectors, the repository where the module is stored
- Repository
Branch string - Repository Branch in which the module should be accessed
- Repository
Commit string - Repository Commit in which the module should be accessed
- Repository
Connector string - Repository Connector is the reference to the connector for the repository
- Repository
Path string - Repository Path is the path in which the module resides
- Repository
Url string - URL where the module is stored
- Synced int
- Timestamp when the module was last synced
- string
- Tags associated with the module
- Testing
Enabled bool - Whether testing is enabled for the module
- Testing
Metadata GetInfra Module Testing Metadata - Testing metadata for the module
- Updated int
- Timestamp when the module was last modified
- Versions List<string>
- Versions of the module
- Account string
- Account that owns the module
- Id string
- Identifier of the module
- Name string
- Name of the module
- System string
- Provider of the module
- Created int
- Timestamp when the module was created
- Description string
- Description of the module
- string
- Git Tag Style
- Module
Error string - Error while retrieving the module
- Org string
- Organization that owns the module
- Project string
- Project that owns the module
- Repository string
- For account connectors, the repository where the module is stored
- Repository
Branch string - Repository Branch in which the module should be accessed
- Repository
Commit string - Repository Commit in which the module should be accessed
- Repository
Connector string - Repository Connector is the reference to the connector for the repository
- Repository
Path string - Repository Path is the path in which the module resides
- Repository
Url string - URL where the module is stored
- Synced int
- Timestamp when the module was last synced
- string
- Tags associated with the module
- Testing
Enabled bool - Whether testing is enabled for the module
- Testing
Metadata GetInfra Module Testing Metadata - Testing metadata for the module
- Updated int
- Timestamp when the module was last modified
- Versions []string
- Versions of the module
- account String
- Account that owns the module
- id String
- Identifier of the module
- name String
- Name of the module
- system String
- Provider of the module
- created Integer
- Timestamp when the module was created
- description String
- Description of the module
- String
- Git Tag Style
- module
Error String - Error while retrieving the module
- org String
- Organization that owns the module
- project String
- Project that owns the module
- repository String
- For account connectors, the repository where the module is stored
- repository
Branch String - Repository Branch in which the module should be accessed
- repository
Commit String - Repository Commit in which the module should be accessed
- repository
Connector String - Repository Connector is the reference to the connector for the repository
- repository
Path String - Repository Path is the path in which the module resides
- repository
Url String - URL where the module is stored
- synced Integer
- Timestamp when the module was last synced
- String
- Tags associated with the module
- testing
Enabled Boolean - Whether testing is enabled for the module
- testing
Metadata GetInfra Module Testing Metadata - Testing metadata for the module
- updated Integer
- Timestamp when the module was last modified
- versions List<String>
- Versions of the module
- account string
- Account that owns the module
- id string
- Identifier of the module
- name string
- Name of the module
- system string
- Provider of the module
- created number
- Timestamp when the module was created
- description string
- Description of the module
- string
- Git Tag Style
- module
Error string - Error while retrieving the module
- org string
- Organization that owns the module
- project string
- Project that owns the module
- repository string
- For account connectors, the repository where the module is stored
- repository
Branch string - Repository Branch in which the module should be accessed
- repository
Commit string - Repository Commit in which the module should be accessed
- repository
Connector string - Repository Connector is the reference to the connector for the repository
- repository
Path string - Repository Path is the path in which the module resides
- repository
Url string - URL where the module is stored
- synced number
- Timestamp when the module was last synced
- string
- Tags associated with the module
- testing
Enabled boolean - Whether testing is enabled for the module
- testing
Metadata GetInfra Module Testing Metadata - Testing metadata for the module
- updated number
- Timestamp when the module was last modified
- versions string[]
- Versions of the module
- account str
- Account that owns the module
- id str
- Identifier of the module
- name str
- Name of the module
- system str
- Provider of the module
- created int
- Timestamp when the module was created
- description str
- Description of the module
- git_
tag_ strstyle - Git Tag Style
- module_
error str - Error while retrieving the module
- org str
- Organization that owns the module
- project str
- Project that owns the module
- repository str
- For account connectors, the repository where the module is stored
- repository_
branch str - Repository Branch in which the module should be accessed
- repository_
commit str - Repository Commit in which the module should be accessed
- repository_
connector str - Repository Connector is the reference to the connector for the repository
- repository_
path str - Repository Path is the path in which the module resides
- repository_
url str - URL where the module is stored
- synced int
- Timestamp when the module was last synced
- str
- Tags associated with the module
- testing_
enabled bool - Whether testing is enabled for the module
- testing_
metadata GetInfra Module Testing Metadata - Testing metadata for the module
- updated int
- Timestamp when the module was last modified
- versions Sequence[str]
- Versions of the module
- account String
- Account that owns the module
- id String
- Identifier of the module
- name String
- Name of the module
- system String
- Provider of the module
- created Number
- Timestamp when the module was created
- description String
- Description of the module
- String
- Git Tag Style
- module
Error String - Error while retrieving the module
- org String
- Organization that owns the module
- project String
- Project that owns the module
- repository String
- For account connectors, the repository where the module is stored
- repository
Branch String - Repository Branch in which the module should be accessed
- repository
Commit String - Repository Commit in which the module should be accessed
- repository
Connector String - Repository Connector is the reference to the connector for the repository
- repository
Path String - Repository Path is the path in which the module resides
- repository
Url String - URL where the module is stored
- synced Number
- Timestamp when the module was last synced
- String
- Tags associated with the module
- testing
Enabled Boolean - Whether testing is enabled for the module
- testing
Metadata Property Map - Testing metadata for the module
- updated Number
- Timestamp when the module was last modified
- versions List<String>
- Versions of the module
getInfraModule Result
The following output properties are available:
- Account string
- Account that owns the module
- Created int
- Timestamp when the module was created
- Description string
- Description of the module
- string
- Git Tag Style
- Id string
- Identifier of the module
- Module
Error string - Error while retrieving the module
- Name string
- Name of the module
- Org string
- Organization that owns the module
- Project string
- Project that owns the module
- Repository string
- For account connectors, the repository where the module is stored
- Repository
Branch string - Repository Branch in which the module should be accessed
- Repository
Commit string - Repository Commit in which the module should be accessed
- Repository
Connector string - Repository Connector is the reference to the connector for the repository
- Repository
Path string - Repository Path is the path in which the module resides
- Repository
Url string - URL where the module is stored
- Synced int
- Timestamp when the module was last synced
- System string
- Provider of the module
- string
- Tags associated with the module
- Testing
Enabled bool - Whether testing is enabled for the module
- Testing
Metadata GetInfra Module Testing Metadata - Testing metadata for the module
- Updated int
- Timestamp when the module was last modified
- Versions List<string>
- Versions of the module
- Account string
- Account that owns the module
- Created int
- Timestamp when the module was created
- Description string
- Description of the module
- string
- Git Tag Style
- Id string
- Identifier of the module
- Module
Error string - Error while retrieving the module
- Name string
- Name of the module
- Org string
- Organization that owns the module
- Project string
- Project that owns the module
- Repository string
- For account connectors, the repository where the module is stored
- Repository
Branch string - Repository Branch in which the module should be accessed
- Repository
Commit string - Repository Commit in which the module should be accessed
- Repository
Connector string - Repository Connector is the reference to the connector for the repository
- Repository
Path string - Repository Path is the path in which the module resides
- Repository
Url string - URL where the module is stored
- Synced int
- Timestamp when the module was last synced
- System string
- Provider of the module
- string
- Tags associated with the module
- Testing
Enabled bool - Whether testing is enabled for the module
- Testing
Metadata GetInfra Module Testing Metadata - Testing metadata for the module
- Updated int
- Timestamp when the module was last modified
- Versions []string
- Versions of the module
- account String
- Account that owns the module
- created Integer
- Timestamp when the module was created
- description String
- Description of the module
- String
- Git Tag Style
- id String
- Identifier of the module
- module
Error String - Error while retrieving the module
- name String
- Name of the module
- org String
- Organization that owns the module
- project String
- Project that owns the module
- repository String
- For account connectors, the repository where the module is stored
- repository
Branch String - Repository Branch in which the module should be accessed
- repository
Commit String - Repository Commit in which the module should be accessed
- repository
Connector String - Repository Connector is the reference to the connector for the repository
- repository
Path String - Repository Path is the path in which the module resides
- repository
Url String - URL where the module is stored
- synced Integer
- Timestamp when the module was last synced
- system String
- Provider of the module
- String
- Tags associated with the module
- testing
Enabled Boolean - Whether testing is enabled for the module
- testing
Metadata GetInfra Module Testing Metadata - Testing metadata for the module
- updated Integer
- Timestamp when the module was last modified
- versions List<String>
- Versions of the module
- account string
- Account that owns the module
- created number
- Timestamp when the module was created
- description string
- Description of the module
- string
- Git Tag Style
- id string
- Identifier of the module
- module
Error string - Error while retrieving the module
- name string
- Name of the module
- org string
- Organization that owns the module
- project string
- Project that owns the module
- repository string
- For account connectors, the repository where the module is stored
- repository
Branch string - Repository Branch in which the module should be accessed
- repository
Commit string - Repository Commit in which the module should be accessed
- repository
Connector string - Repository Connector is the reference to the connector for the repository
- repository
Path string - Repository Path is the path in which the module resides
- repository
Url string - URL where the module is stored
- synced number
- Timestamp when the module was last synced
- system string
- Provider of the module
- string
- Tags associated with the module
- testing
Enabled boolean - Whether testing is enabled for the module
- testing
Metadata GetInfra Module Testing Metadata - Testing metadata for the module
- updated number
- Timestamp when the module was last modified
- versions string[]
- Versions of the module
- account str
- Account that owns the module
- created int
- Timestamp when the module was created
- description str
- Description of the module
- git_
tag_ strstyle - Git Tag Style
- id str
- Identifier of the module
- module_
error str - Error while retrieving the module
- name str
- Name of the module
- org str
- Organization that owns the module
- project str
- Project that owns the module
- repository str
- For account connectors, the repository where the module is stored
- repository_
branch str - Repository Branch in which the module should be accessed
- repository_
commit str - Repository Commit in which the module should be accessed
- repository_
connector str - Repository Connector is the reference to the connector for the repository
- repository_
path str - Repository Path is the path in which the module resides
- repository_
url str - URL where the module is stored
- synced int
- Timestamp when the module was last synced
- system str
- Provider of the module
- str
- Tags associated with the module
- testing_
enabled bool - Whether testing is enabled for the module
- testing_
metadata GetInfra Module Testing Metadata - Testing metadata for the module
- updated int
- Timestamp when the module was last modified
- versions Sequence[str]
- Versions of the module
- account String
- Account that owns the module
- created Number
- Timestamp when the module was created
- description String
- Description of the module
- String
- Git Tag Style
- id String
- Identifier of the module
- module
Error String - Error while retrieving the module
- name String
- Name of the module
- org String
- Organization that owns the module
- project String
- Project that owns the module
- repository String
- For account connectors, the repository where the module is stored
- repository
Branch String - Repository Branch in which the module should be accessed
- repository
Commit String - Repository Commit in which the module should be accessed
- repository
Connector String - Repository Connector is the reference to the connector for the repository
- repository
Path String - Repository Path is the path in which the module resides
- repository
Url String - URL where the module is stored
- synced Number
- Timestamp when the module was last synced
- system String
- Provider of the module
- String
- Tags associated with the module
- testing
Enabled Boolean - Whether testing is enabled for the module
- testing
Metadata Property Map - Testing metadata for the module
- updated Number
- Timestamp when the module was last modified
- versions List<String>
- Versions of the module
Supporting Types
GetInfraModuleTestingMetadata
- Account string
- Account is the internal customer account ID
- Org string
- Organization identifier
- Pipelines List<string>
- Pipelines where the testing is enabled
- Project string
- Project identifier
- Provider
Connector string - Provider connector for testing purposes
- Provisioner
Type string - Provisioner type for testing purposes
- Provisioner
Version string - Provisioner version for testing purposes
- Release
Pipeline string - Release pipeline
- Account string
- Account is the internal customer account ID
- Org string
- Organization identifier
- Pipelines []string
- Pipelines where the testing is enabled
- Project string
- Project identifier
- Provider
Connector string - Provider connector for testing purposes
- Provisioner
Type string - Provisioner type for testing purposes
- Provisioner
Version string - Provisioner version for testing purposes
- Release
Pipeline string - Release pipeline
- account String
- Account is the internal customer account ID
- org String
- Organization identifier
- pipelines List<String>
- Pipelines where the testing is enabled
- project String
- Project identifier
- provider
Connector String - Provider connector for testing purposes
- provisioner
Type String - Provisioner type for testing purposes
- provisioner
Version String - Provisioner version for testing purposes
- release
Pipeline String - Release pipeline
- account string
- Account is the internal customer account ID
- org string
- Organization identifier
- pipelines string[]
- Pipelines where the testing is enabled
- project string
- Project identifier
- provider
Connector string - Provider connector for testing purposes
- provisioner
Type string - Provisioner type for testing purposes
- provisioner
Version string - Provisioner version for testing purposes
- release
Pipeline string - Release pipeline
- account str
- Account is the internal customer account ID
- org str
- Organization identifier
- pipelines Sequence[str]
- Pipelines where the testing is enabled
- project str
- Project identifier
- provider_
connector str - Provider connector for testing purposes
- provisioner_
type str - Provisioner type for testing purposes
- provisioner_
version str - Provisioner version for testing purposes
- release_
pipeline str - Release pipeline
- account String
- Account is the internal customer account ID
- org String
- Organization identifier
- pipelines List<String>
- Pipelines where the testing is enabled
- project String
- Project identifier
- provider
Connector String - Provider connector for testing purposes
- provisioner
Type String - Provisioner type for testing purposes
- provisioner
Version String - Provisioner version for testing purposes
- release
Pipeline String - Release pipeline
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
