1. Packages
  2. Packages
  3. Harness Provider
  4. API Docs
  5. platform
  6. getIacmAnsibleInventory
Viewing docs for Harness v0.13.1
published on Thursday, May 28, 2026 by Pulumi
harness logo
Viewing docs for Harness v0.13.1
published on Thursday, May 28, 2026 by Pulumi

    Data source for retrieving a Harness IaCM Ansible Inventory.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as harness from "@pulumi/harness";
    
    const example = harness.platform.getIacmAnsibleInventory({
        identifier: "my_inventory",
        orgId: exampleHarnessPlatformOrganization.id,
        projectId: exampleHarnessPlatformProject.id,
    });
    
    import pulumi
    import pulumi_harness as harness
    
    example = harness.platform.get_iacm_ansible_inventory(identifier="my_inventory",
        org_id=example_harness_platform_organization["id"],
        project_id=example_harness_platform_project["id"])
    
    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.LookupIacmAnsibleInventory(ctx, &platform.LookupIacmAnsibleInventoryArgs{
    			Identifier: "my_inventory",
    			OrgId:      exampleHarnessPlatformOrganization.Id,
    			ProjectId:  exampleHarnessPlatformProject.Id,
    		}, nil)
    		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 = Harness.Platform.GetIacmAnsibleInventory.Invoke(new()
        {
            Identifier = "my_inventory",
            OrgId = exampleHarnessPlatformOrganization.Id,
            ProjectId = exampleHarnessPlatformProject.Id,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.harness.platform.PlatformFunctions;
    import com.pulumi.harness.platform.inputs.GetIacmAnsibleInventoryArgs;
    import java.util.ArrayList;
    import java.util.Arrays;
    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) {
            final var example = PlatformFunctions.getIacmAnsibleInventory(GetIacmAnsibleInventoryArgs.builder()
                .identifier("my_inventory")
                .orgId(exampleHarnessPlatformOrganization.id())
                .projectId(exampleHarnessPlatformProject.id())
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: harness:platform:getIacmAnsibleInventory
          arguments:
            identifier: my_inventory
            orgId: ${exampleHarnessPlatformOrganization.id}
            projectId: ${exampleHarnessPlatformProject.id}
    
    pulumi {
      required_providers {
        harness = {
          source = "pulumi/harness"
        }
      }
    }
    
    data "harness_platform_getiacmansibleinventory" "example" {
      identifier = "my_inventory"
      org_id     = exampleHarnessPlatformOrganization.id
      project_id = exampleHarnessPlatformProject.id
    }
    

    Using getIacmAnsibleInventory

    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 getIacmAnsibleInventory(args: GetIacmAnsibleInventoryArgs, opts?: InvokeOptions): Promise<GetIacmAnsibleInventoryResult>
    function getIacmAnsibleInventoryOutput(args: GetIacmAnsibleInventoryOutputArgs, opts?: InvokeOptions): Output<GetIacmAnsibleInventoryResult>
    def get_iacm_ansible_inventory(identifier: Optional[str] = None,
                                   name: Optional[str] = None,
                                   org_id: Optional[str] = None,
                                   project_id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetIacmAnsibleInventoryResult
    def get_iacm_ansible_inventory_output(identifier: pulumi.Input[Optional[str]] = None,
                                   name: pulumi.Input[Optional[str]] = None,
                                   org_id: pulumi.Input[Optional[str]] = None,
                                   project_id: pulumi.Input[Optional[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetIacmAnsibleInventoryResult]
    func LookupIacmAnsibleInventory(ctx *Context, args *LookupIacmAnsibleInventoryArgs, opts ...InvokeOption) (*LookupIacmAnsibleInventoryResult, error)
    func LookupIacmAnsibleInventoryOutput(ctx *Context, args *LookupIacmAnsibleInventoryOutputArgs, opts ...InvokeOption) LookupIacmAnsibleInventoryResultOutput

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

    public static class GetIacmAnsibleInventory 
    {
        public static Task<GetIacmAnsibleInventoryResult> InvokeAsync(GetIacmAnsibleInventoryArgs args, InvokeOptions? opts = null)
        public static Output<GetIacmAnsibleInventoryResult> Invoke(GetIacmAnsibleInventoryInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetIacmAnsibleInventoryResult> getIacmAnsibleInventory(GetIacmAnsibleInventoryArgs args, InvokeOptions options)
    public static Output<GetIacmAnsibleInventoryResult> getIacmAnsibleInventory(GetIacmAnsibleInventoryArgs args, InvokeOptions options)
    
    fn::invoke:
      function: harness:platform/getIacmAnsibleInventory:getIacmAnsibleInventory
      arguments:
        # arguments dictionary
    data "harness_platform_getiacmansibleinventory" "name" {
        # arguments
    }

    The following arguments are supported:

    Identifier string
    Unique identifier of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Name string
    Name of the resource.
    Identifier string
    Unique identifier of the resource.
    OrgId string
    Unique identifier of the organization.
    ProjectId string
    Unique identifier of the project.
    Name string
    Name of the resource.
    identifier string
    Unique identifier of the resource.
    org_id string
    Unique identifier of the organization.
    project_id string
    Unique identifier of the project.
    name string
    Name of the resource.
    identifier String
    Unique identifier of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    name String
    Name of the resource.
    identifier string
    Unique identifier of the resource.
    orgId string
    Unique identifier of the organization.
    projectId string
    Unique identifier of the project.
    name string
    Name of the resource.
    identifier str
    Unique identifier of the resource.
    org_id str
    Unique identifier of the organization.
    project_id str
    Unique identifier of the project.
    name str
    Name of the resource.
    identifier String
    Unique identifier of the resource.
    orgId String
    Unique identifier of the organization.
    projectId String
    Unique identifier of the project.
    name String
    Name of the resource.

    getIacmAnsibleInventory Result

    The following output properties are available:

    Description string
    Description of the resource.
    DynamicGroups List<GetIacmAnsibleInventoryDynamicGroup>
    Dynamic groups used when type is dynamic.
    Groups List<GetIacmAnsibleInventoryGroup>
    Manual groups used when type is manual.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    OrgId string
    Unique identifier of the organization.
    PluginOptions List<GetIacmAnsibleInventoryPluginOption>
    Plugin options used when type is plugin.
    ProjectId string
    Unique identifier of the project.
    Tags List<string>
    Tags to associate with the resource.
    Type string
    Type of inventory. One of: manual, dynamic, plugin.
    Vars List<GetIacmAnsibleInventoryVar>
    Variables configured on the inventory.
    Name string
    Name of the resource.
    Description string
    Description of the resource.
    DynamicGroups []GetIacmAnsibleInventoryDynamicGroup
    Dynamic groups used when type is dynamic.
    Groups []GetIacmAnsibleInventoryGroup
    Manual groups used when type is manual.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifier string
    Unique identifier of the resource.
    OrgId string
    Unique identifier of the organization.
    PluginOptions []GetIacmAnsibleInventoryPluginOption
    Plugin options used when type is plugin.
    ProjectId string
    Unique identifier of the project.
    Tags []string
    Tags to associate with the resource.
    Type string
    Type of inventory. One of: manual, dynamic, plugin.
    Vars []GetIacmAnsibleInventoryVar
    Variables configured on the inventory.
    Name string
    Name of the resource.
    description string
    Description of the resource.
    dynamic_groups list(object)
    Dynamic groups used when type is dynamic.
    groups list(object)
    Manual groups used when type is manual.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource.
    org_id string
    Unique identifier of the organization.
    plugin_options list(object)
    Plugin options used when type is plugin.
    project_id string
    Unique identifier of the project.
    tags list(string)
    Tags to associate with the resource.
    type string
    Type of inventory. One of: manual, dynamic, plugin.
    vars list(object)
    Variables configured on the inventory.
    name string
    Name of the resource.
    description String
    Description of the resource.
    dynamicGroups List<GetIacmAnsibleInventoryDynamicGroup>
    Dynamic groups used when type is dynamic.
    groups List<GetIacmAnsibleInventoryGroup>
    Manual groups used when type is manual.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    orgId String
    Unique identifier of the organization.
    pluginOptions List<GetIacmAnsibleInventoryPluginOption>
    Plugin options used when type is plugin.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    type String
    Type of inventory. One of: manual, dynamic, plugin.
    vars List<GetIacmAnsibleInventoryVar>
    Variables configured on the inventory.
    name String
    Name of the resource.
    description string
    Description of the resource.
    dynamicGroups GetIacmAnsibleInventoryDynamicGroup[]
    Dynamic groups used when type is dynamic.
    groups GetIacmAnsibleInventoryGroup[]
    Manual groups used when type is manual.
    id string
    The provider-assigned unique ID for this managed resource.
    identifier string
    Unique identifier of the resource.
    orgId string
    Unique identifier of the organization.
    pluginOptions GetIacmAnsibleInventoryPluginOption[]
    Plugin options used when type is plugin.
    projectId string
    Unique identifier of the project.
    tags string[]
    Tags to associate with the resource.
    type string
    Type of inventory. One of: manual, dynamic, plugin.
    vars GetIacmAnsibleInventoryVar[]
    Variables configured on the inventory.
    name string
    Name of the resource.
    description str
    Description of the resource.
    dynamic_groups Sequence[GetIacmAnsibleInventoryDynamicGroup]
    Dynamic groups used when type is dynamic.
    groups Sequence[GetIacmAnsibleInventoryGroup]
    Manual groups used when type is manual.
    id str
    The provider-assigned unique ID for this managed resource.
    identifier str
    Unique identifier of the resource.
    org_id str
    Unique identifier of the organization.
    plugin_options Sequence[GetIacmAnsibleInventoryPluginOption]
    Plugin options used when type is plugin.
    project_id str
    Unique identifier of the project.
    tags Sequence[str]
    Tags to associate with the resource.
    type str
    Type of inventory. One of: manual, dynamic, plugin.
    vars Sequence[GetIacmAnsibleInventoryVar]
    Variables configured on the inventory.
    name str
    Name of the resource.
    description String
    Description of the resource.
    dynamicGroups List<Property Map>
    Dynamic groups used when type is dynamic.
    groups List<Property Map>
    Manual groups used when type is manual.
    id String
    The provider-assigned unique ID for this managed resource.
    identifier String
    Unique identifier of the resource.
    orgId String
    Unique identifier of the organization.
    pluginOptions List<Property Map>
    Plugin options used when type is plugin.
    projectId String
    Unique identifier of the project.
    tags List<String>
    Tags to associate with the resource.
    type String
    Type of inventory. One of: manual, dynamic, plugin.
    vars List<Property Map>
    Variables configured on the inventory.
    name String
    Name of the resource.

    Supporting Types

    GetIacmAnsibleInventoryDynamicGroup

    Configurations List<GetIacmAnsibleInventoryDynamicGroupConfiguration>
    Configuration for the dynamic group.
    ConnectorIdentifier string
    Connector identifier used by the dynamic group.
    ConnectorType string
    Connector type (e.g. workspace, aws, gcp, azure, vault).
    DynamicVars List<GetIacmAnsibleInventoryDynamicGroupDynamicVar>
    Dynamic variables for the dynamic group.
    Identifier string
    Identifier of the dynamic group.
    Name string
    Name of the dynamic group.
    Vars List<GetIacmAnsibleInventoryDynamicGroupVar>
    Variables for the dynamic group.
    Configurations []GetIacmAnsibleInventoryDynamicGroupConfiguration
    Configuration for the dynamic group.
    ConnectorIdentifier string
    Connector identifier used by the dynamic group.
    ConnectorType string
    Connector type (e.g. workspace, aws, gcp, azure, vault).
    DynamicVars []GetIacmAnsibleInventoryDynamicGroupDynamicVar
    Dynamic variables for the dynamic group.
    Identifier string
    Identifier of the dynamic group.
    Name string
    Name of the dynamic group.
    Vars []GetIacmAnsibleInventoryDynamicGroupVar
    Variables for the dynamic group.
    configurations list(object)
    Configuration for the dynamic group.
    connector_identifier string
    Connector identifier used by the dynamic group.
    connector_type string
    Connector type (e.g. workspace, aws, gcp, azure, vault).
    dynamic_vars list(object)
    Dynamic variables for the dynamic group.
    identifier string
    Identifier of the dynamic group.
    name string
    Name of the dynamic group.
    vars list(object)
    Variables for the dynamic group.
    configurations List<GetIacmAnsibleInventoryDynamicGroupConfiguration>
    Configuration for the dynamic group.
    connectorIdentifier String
    Connector identifier used by the dynamic group.
    connectorType String
    Connector type (e.g. workspace, aws, gcp, azure, vault).
    dynamicVars List<GetIacmAnsibleInventoryDynamicGroupDynamicVar>
    Dynamic variables for the dynamic group.
    identifier String
    Identifier of the dynamic group.
    name String
    Name of the dynamic group.
    vars List<GetIacmAnsibleInventoryDynamicGroupVar>
    Variables for the dynamic group.
    configurations GetIacmAnsibleInventoryDynamicGroupConfiguration[]
    Configuration for the dynamic group.
    connectorIdentifier string
    Connector identifier used by the dynamic group.
    connectorType string
    Connector type (e.g. workspace, aws, gcp, azure, vault).
    dynamicVars GetIacmAnsibleInventoryDynamicGroupDynamicVar[]
    Dynamic variables for the dynamic group.
    identifier string
    Identifier of the dynamic group.
    name string
    Name of the dynamic group.
    vars GetIacmAnsibleInventoryDynamicGroupVar[]
    Variables for the dynamic group.
    configurations Sequence[GetIacmAnsibleInventoryDynamicGroupConfiguration]
    Configuration for the dynamic group.
    connector_identifier str
    Connector identifier used by the dynamic group.
    connector_type str
    Connector type (e.g. workspace, aws, gcp, azure, vault).
    dynamic_vars Sequence[GetIacmAnsibleInventoryDynamicGroupDynamicVar]
    Dynamic variables for the dynamic group.
    identifier str
    Identifier of the dynamic group.
    name str
    Name of the dynamic group.
    vars Sequence[GetIacmAnsibleInventoryDynamicGroupVar]
    Variables for the dynamic group.
    configurations List<Property Map>
    Configuration for the dynamic group.
    connectorIdentifier String
    Connector identifier used by the dynamic group.
    connectorType String
    Connector type (e.g. workspace, aws, gcp, azure, vault).
    dynamicVars List<Property Map>
    Dynamic variables for the dynamic group.
    identifier String
    Identifier of the dynamic group.
    name String
    Name of the dynamic group.
    vars List<Property Map>
    Variables for the dynamic group.

    GetIacmAnsibleInventoryDynamicGroupConfiguration

    HostAddressAttribute string
    Host address attribute.
    ResourceType string
    Resource type to select.
    Selectors List<GetIacmAnsibleInventoryDynamicGroupConfigurationSelector>
    Resource selectors.
    HostAddressAttribute string
    Host address attribute.
    ResourceType string
    Resource type to select.
    Selectors []GetIacmAnsibleInventoryDynamicGroupConfigurationSelector
    Resource selectors.
    host_address_attribute string
    Host address attribute.
    resource_type string
    Resource type to select.
    selectors list(object)
    Resource selectors.
    hostAddressAttribute String
    Host address attribute.
    resourceType String
    Resource type to select.
    selectors List<GetIacmAnsibleInventoryDynamicGroupConfigurationSelector>
    Resource selectors.
    hostAddressAttribute string
    Host address attribute.
    resourceType string
    Resource type to select.
    selectors GetIacmAnsibleInventoryDynamicGroupConfigurationSelector[]
    Resource selectors.
    host_address_attribute str
    Host address attribute.
    resource_type str
    Resource type to select.
    selectors Sequence[GetIacmAnsibleInventoryDynamicGroupConfigurationSelector]
    Resource selectors.
    hostAddressAttribute String
    Host address attribute.
    resourceType String
    Resource type to select.
    selectors List<Property Map>
    Resource selectors.

    GetIacmAnsibleInventoryDynamicGroupConfigurationSelector

    Attribute string
    Attribute to filter on.
    Operator string
    Operator for the filter.
    Value string
    Value for the filter.
    Attribute string
    Attribute to filter on.
    Operator string
    Operator for the filter.
    Value string
    Value for the filter.
    attribute string
    Attribute to filter on.
    operator string
    Operator for the filter.
    value string
    Value for the filter.
    attribute String
    Attribute to filter on.
    operator String
    Operator for the filter.
    value String
    Value for the filter.
    attribute string
    Attribute to filter on.
    operator string
    Operator for the filter.
    value string
    Value for the filter.
    attribute str
    Attribute to filter on.
    operator str
    Operator for the filter.
    value str
    Value for the filter.
    attribute String
    Attribute to filter on.
    operator String
    Operator for the filter.
    value String
    Value for the filter.

    GetIacmAnsibleInventoryDynamicGroupDynamicVar

    FileName string
    Filename to store the value in (used for file-backed variables).
    Key string
    Key is the identifier for the variable.
    Value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    ValueType string
    Value type. One of: string, secret.
    FileName string
    Filename to store the value in (used for file-backed variables).
    Key string
    Key is the identifier for the variable.
    Value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    ValueType string
    Value type. One of: string, secret.
    file_name string
    Filename to store the value in (used for file-backed variables).
    key string
    Key is the identifier for the variable.
    value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    value_type string
    Value type. One of: string, secret.
    fileName String
    Filename to store the value in (used for file-backed variables).
    key String
    Key is the identifier for the variable.
    value String
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType String
    Value type. One of: string, secret.
    fileName string
    Filename to store the value in (used for file-backed variables).
    key string
    Key is the identifier for the variable.
    value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType string
    Value type. One of: string, secret.
    file_name str
    Filename to store the value in (used for file-backed variables).
    key str
    Key is the identifier for the variable.
    value str
    Value of the variable. For secret value types this must be a Harness secret reference.
    value_type str
    Value type. One of: string, secret.
    fileName String
    Filename to store the value in (used for file-backed variables).
    key String
    Key is the identifier for the variable.
    value String
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType String
    Value type. One of: string, secret.

    GetIacmAnsibleInventoryDynamicGroupVar

    FileName string
    Filename to store the value in (used for file-backed variables).
    Key string
    Key is the identifier for the variable.
    Value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    ValueType string
    Value type. One of: string, secret.
    FileName string
    Filename to store the value in (used for file-backed variables).
    Key string
    Key is the identifier for the variable.
    Value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    ValueType string
    Value type. One of: string, secret.
    file_name string
    Filename to store the value in (used for file-backed variables).
    key string
    Key is the identifier for the variable.
    value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    value_type string
    Value type. One of: string, secret.
    fileName String
    Filename to store the value in (used for file-backed variables).
    key String
    Key is the identifier for the variable.
    value String
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType String
    Value type. One of: string, secret.
    fileName string
    Filename to store the value in (used for file-backed variables).
    key string
    Key is the identifier for the variable.
    value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType string
    Value type. One of: string, secret.
    file_name str
    Filename to store the value in (used for file-backed variables).
    key str
    Key is the identifier for the variable.
    value str
    Value of the variable. For secret value types this must be a Harness secret reference.
    value_type str
    Value type. One of: string, secret.
    fileName String
    Filename to store the value in (used for file-backed variables).
    key String
    Key is the identifier for the variable.
    value String
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType String
    Value type. One of: string, secret.

    GetIacmAnsibleInventoryGroup

    Hosts List<string>
    List of hosts in the group.
    Identifier string
    Identifier of the group.
    Name string
    Name of the group.
    Vars List<GetIacmAnsibleInventoryGroupVar>
    Variables for the group.
    Hosts []string
    List of hosts in the group.
    Identifier string
    Identifier of the group.
    Name string
    Name of the group.
    Vars []GetIacmAnsibleInventoryGroupVar
    Variables for the group.
    hosts list(string)
    List of hosts in the group.
    identifier string
    Identifier of the group.
    name string
    Name of the group.
    vars list(object)
    Variables for the group.
    hosts List<String>
    List of hosts in the group.
    identifier String
    Identifier of the group.
    name String
    Name of the group.
    vars List<GetIacmAnsibleInventoryGroupVar>
    Variables for the group.
    hosts string[]
    List of hosts in the group.
    identifier string
    Identifier of the group.
    name string
    Name of the group.
    vars GetIacmAnsibleInventoryGroupVar[]
    Variables for the group.
    hosts Sequence[str]
    List of hosts in the group.
    identifier str
    Identifier of the group.
    name str
    Name of the group.
    vars Sequence[GetIacmAnsibleInventoryGroupVar]
    Variables for the group.
    hosts List<String>
    List of hosts in the group.
    identifier String
    Identifier of the group.
    name String
    Name of the group.
    vars List<Property Map>
    Variables for the group.

    GetIacmAnsibleInventoryGroupVar

    FileName string
    Filename to store the value in (used for file-backed variables).
    Key string
    Key is the identifier for the variable.
    Value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    ValueType string
    Value type. One of: string, secret.
    FileName string
    Filename to store the value in (used for file-backed variables).
    Key string
    Key is the identifier for the variable.
    Value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    ValueType string
    Value type. One of: string, secret.
    file_name string
    Filename to store the value in (used for file-backed variables).
    key string
    Key is the identifier for the variable.
    value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    value_type string
    Value type. One of: string, secret.
    fileName String
    Filename to store the value in (used for file-backed variables).
    key String
    Key is the identifier for the variable.
    value String
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType String
    Value type. One of: string, secret.
    fileName string
    Filename to store the value in (used for file-backed variables).
    key string
    Key is the identifier for the variable.
    value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType string
    Value type. One of: string, secret.
    file_name str
    Filename to store the value in (used for file-backed variables).
    key str
    Key is the identifier for the variable.
    value str
    Value of the variable. For secret value types this must be a Harness secret reference.
    value_type str
    Value type. One of: string, secret.
    fileName String
    Filename to store the value in (used for file-backed variables).
    key String
    Key is the identifier for the variable.
    value String
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType String
    Value type. One of: string, secret.

    GetIacmAnsibleInventoryPluginOption

    InlineYaml string
    Inline plugin inventory YAML content (when sourceType is inline).
    ProviderConnectorIdentifier string
    Provider connector identifier for plugin inventory execution.
    ProviderConnectorType string
    Provider connector type.
    Repository string
    Git repository name (when sourceType is git).
    RepositoryBranch string
    Git branch.
    RepositoryCommit string
    Git commit or tag.
    RepositoryConnector string
    Repository connector reference (when sourceType is git).
    RepositoryPath string
    Path within the repository to the plugin inventory YAML.
    SourceType string
    Source type for plugin inventory. One of: git, inline.
    InlineYaml string
    Inline plugin inventory YAML content (when sourceType is inline).
    ProviderConnectorIdentifier string
    Provider connector identifier for plugin inventory execution.
    ProviderConnectorType string
    Provider connector type.
    Repository string
    Git repository name (when sourceType is git).
    RepositoryBranch string
    Git branch.
    RepositoryCommit string
    Git commit or tag.
    RepositoryConnector string
    Repository connector reference (when sourceType is git).
    RepositoryPath string
    Path within the repository to the plugin inventory YAML.
    SourceType string
    Source type for plugin inventory. One of: git, inline.
    inline_yaml string
    Inline plugin inventory YAML content (when sourceType is inline).
    provider_connector_identifier string
    Provider connector identifier for plugin inventory execution.
    provider_connector_type string
    Provider connector type.
    repository string
    Git repository name (when sourceType is git).
    repository_branch string
    Git branch.
    repository_commit string
    Git commit or tag.
    repository_connector string
    Repository connector reference (when sourceType is git).
    repository_path string
    Path within the repository to the plugin inventory YAML.
    source_type string
    Source type for plugin inventory. One of: git, inline.
    inlineYaml String
    Inline plugin inventory YAML content (when sourceType is inline).
    providerConnectorIdentifier String
    Provider connector identifier for plugin inventory execution.
    providerConnectorType String
    Provider connector type.
    repository String
    Git repository name (when sourceType is git).
    repositoryBranch String
    Git branch.
    repositoryCommit String
    Git commit or tag.
    repositoryConnector String
    Repository connector reference (when sourceType is git).
    repositoryPath String
    Path within the repository to the plugin inventory YAML.
    sourceType String
    Source type for plugin inventory. One of: git, inline.
    inlineYaml string
    Inline plugin inventory YAML content (when sourceType is inline).
    providerConnectorIdentifier string
    Provider connector identifier for plugin inventory execution.
    providerConnectorType string
    Provider connector type.
    repository string
    Git repository name (when sourceType is git).
    repositoryBranch string
    Git branch.
    repositoryCommit string
    Git commit or tag.
    repositoryConnector string
    Repository connector reference (when sourceType is git).
    repositoryPath string
    Path within the repository to the plugin inventory YAML.
    sourceType string
    Source type for plugin inventory. One of: git, inline.
    inline_yaml str
    Inline plugin inventory YAML content (when sourceType is inline).
    provider_connector_identifier str
    Provider connector identifier for plugin inventory execution.
    provider_connector_type str
    Provider connector type.
    repository str
    Git repository name (when sourceType is git).
    repository_branch str
    Git branch.
    repository_commit str
    Git commit or tag.
    repository_connector str
    Repository connector reference (when sourceType is git).
    repository_path str
    Path within the repository to the plugin inventory YAML.
    source_type str
    Source type for plugin inventory. One of: git, inline.
    inlineYaml String
    Inline plugin inventory YAML content (when sourceType is inline).
    providerConnectorIdentifier String
    Provider connector identifier for plugin inventory execution.
    providerConnectorType String
    Provider connector type.
    repository String
    Git repository name (when sourceType is git).
    repositoryBranch String
    Git branch.
    repositoryCommit String
    Git commit or tag.
    repositoryConnector String
    Repository connector reference (when sourceType is git).
    repositoryPath String
    Path within the repository to the plugin inventory YAML.
    sourceType String
    Source type for plugin inventory. One of: git, inline.

    GetIacmAnsibleInventoryVar

    FileName string
    Filename to store the value in (used for file-backed variables).
    Key string
    Key is the identifier for the variable.
    Value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    ValueType string
    Value type. One of: string, secret.
    FileName string
    Filename to store the value in (used for file-backed variables).
    Key string
    Key is the identifier for the variable.
    Value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    ValueType string
    Value type. One of: string, secret.
    file_name string
    Filename to store the value in (used for file-backed variables).
    key string
    Key is the identifier for the variable.
    value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    value_type string
    Value type. One of: string, secret.
    fileName String
    Filename to store the value in (used for file-backed variables).
    key String
    Key is the identifier for the variable.
    value String
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType String
    Value type. One of: string, secret.
    fileName string
    Filename to store the value in (used for file-backed variables).
    key string
    Key is the identifier for the variable.
    value string
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType string
    Value type. One of: string, secret.
    file_name str
    Filename to store the value in (used for file-backed variables).
    key str
    Key is the identifier for the variable.
    value str
    Value of the variable. For secret value types this must be a Harness secret reference.
    value_type str
    Value type. One of: string, secret.
    fileName String
    Filename to store the value in (used for file-backed variables).
    key String
    Key is the identifier for the variable.
    value String
    Value of the variable. For secret value types this must be a Harness secret reference.
    valueType String
    Value type. One of: string, secret.

    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.13.1
    published on Thursday, May 28, 2026 by Pulumi

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial