1. Packages
  2. Harness Provider
  3. API Docs
  4. chaos
  5. InfrastructureV2
Harness v0.8.4 published on Thursday, Sep 11, 2025 by Pulumi

harness.chaos.InfrastructureV2

Explore with Pulumi AI

harness logo
Harness v0.8.4 published on Thursday, Sep 11, 2025 by Pulumi

    Resource for managing Harness Chaos Infrastructure V2.

    Create InfrastructureV2 Resource

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

    Constructor syntax

    new InfrastructureV2(name: string, args: InfrastructureV2Args, opts?: CustomResourceOptions);
    @overload
    def InfrastructureV2(resource_name: str,
                         args: InfrastructureV2Args,
                         opts: Optional[ResourceOptions] = None)
    
    @overload
    def InfrastructureV2(resource_name: str,
                         opts: Optional[ResourceOptions] = None,
                         environment_id: Optional[str] = None,
                         project_id: Optional[str] = None,
                         org_id: Optional[str] = None,
                         infra_id: Optional[str] = None,
                         mtls: Optional[InfrastructureV2MtlsArgs] = None,
                         name: Optional[str] = None,
                         description: Optional[str] = None,
                         envs: Optional[Sequence[InfrastructureV2EnvArgs]] = None,
                         image_registries: Optional[Sequence[InfrastructureV2ImageRegistryArgs]] = None,
                         correlation_id: Optional[str] = None,
                         infra_scope: Optional[str] = None,
                         infra_type: Optional[str] = None,
                         insecure_skip_verify: Optional[bool] = None,
                         label: Optional[Mapping[str, str]] = None,
                         ai_enabled: Optional[bool] = None,
                         discovery_agent_id: Optional[str] = None,
                         namespace: Optional[str] = None,
                         node_selector: Optional[Mapping[str, str]] = None,
                         containers: Optional[str] = None,
                         annotation: Optional[Mapping[str, str]] = None,
                         proxy: Optional[InfrastructureV2ProxyArgs] = None,
                         run_as_group: Optional[int] = None,
                         run_as_user: Optional[int] = None,
                         service_account: Optional[str] = None,
                         tags: Optional[Sequence[str]] = None,
                         tolerations: Optional[Sequence[InfrastructureV2TolerationArgs]] = None,
                         volume_mounts: Optional[Sequence[InfrastructureV2VolumeMountArgs]] = None,
                         volumes: Optional[Sequence[InfrastructureV2VolumeArgs]] = None)
    func NewInfrastructureV2(ctx *Context, name string, args InfrastructureV2Args, opts ...ResourceOption) (*InfrastructureV2, error)
    public InfrastructureV2(string name, InfrastructureV2Args args, CustomResourceOptions? opts = null)
    public InfrastructureV2(String name, InfrastructureV2Args args)
    public InfrastructureV2(String name, InfrastructureV2Args args, CustomResourceOptions options)
    
    type: harness:chaos:InfrastructureV2
    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 InfrastructureV2Args
    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 InfrastructureV2Args
    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 InfrastructureV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args InfrastructureV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args InfrastructureV2Args
    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 infrastructureV2Resource = new Harness.Chaos.InfrastructureV2("infrastructureV2Resource", new()
    {
        EnvironmentId = "string",
        ProjectId = "string",
        OrgId = "string",
        InfraId = "string",
        Mtls = new Harness.Chaos.Inputs.InfrastructureV2MtlsArgs
        {
            CertPath = "string",
            KeyPath = "string",
            SecretName = "string",
            Url = "string",
        },
        Name = "string",
        Description = "string",
        Envs = new[]
        {
            new Harness.Chaos.Inputs.InfrastructureV2EnvArgs
            {
                Name = "string",
                Key = "string",
                Value = "string",
                ValueFrom = "string",
            },
        },
        ImageRegistries = new[]
        {
            new Harness.Chaos.Inputs.InfrastructureV2ImageRegistryArgs
            {
                CreatedAt = "string",
                CustomImages = new[]
                {
                    new Harness.Chaos.Inputs.InfrastructureV2ImageRegistryCustomImageArgs
                    {
                        Ddcr = "string",
                        DdcrFault = "string",
                        DdcrLib = "string",
                        LogWatcher = "string",
                    },
                },
                Identifiers = new[]
                {
                    new Harness.Chaos.Inputs.InfrastructureV2ImageRegistryIdentifierArgs
                    {
                        AccountIdentifier = "string",
                        OrgIdentifier = "string",
                        ProjectIdentifier = "string",
                    },
                },
                InfraId = "string",
                IsDefault = false,
                IsOverrideAllowed = false,
                IsPrivate = false,
                RegistryAccount = "string",
                RegistryServer = "string",
                SecretName = "string",
                UpdatedAt = "string",
                UseCustomImages = false,
            },
        },
        CorrelationId = "string",
        InfraScope = "string",
        InfraType = "string",
        InsecureSkipVerify = false,
        Label = 
        {
            { "string", "string" },
        },
        AiEnabled = false,
        DiscoveryAgentId = "string",
        Namespace = "string",
        NodeSelector = 
        {
            { "string", "string" },
        },
        Containers = "string",
        Annotation = 
        {
            { "string", "string" },
        },
        Proxy = new Harness.Chaos.Inputs.InfrastructureV2ProxyArgs
        {
            Url = "string",
            HttpProxy = "string",
            HttpsProxy = "string",
            NoProxy = "string",
        },
        RunAsGroup = 0,
        RunAsUser = 0,
        ServiceAccount = "string",
        Tags = new[]
        {
            "string",
        },
        Tolerations = new[]
        {
            new Harness.Chaos.Inputs.InfrastructureV2TolerationArgs
            {
                Effect = "string",
                Key = "string",
                Operator = "string",
                TolerationSeconds = 0,
                Value = "string",
            },
        },
        VolumeMounts = new[]
        {
            new Harness.Chaos.Inputs.InfrastructureV2VolumeMountArgs
            {
                MountPath = "string",
                Name = "string",
                MountPropagation = "string",
                ReadOnly = false,
                SubPath = "string",
                SubPathExpr = "string",
            },
        },
        Volumes = new[]
        {
            new Harness.Chaos.Inputs.InfrastructureV2VolumeArgs
            {
                Name = "string",
                SizeLimit = "string",
            },
        },
    });
    
    example, err := chaos.NewInfrastructureV2(ctx, "infrastructureV2Resource", &chaos.InfrastructureV2Args{
    	EnvironmentId: pulumi.String("string"),
    	ProjectId:     pulumi.String("string"),
    	OrgId:         pulumi.String("string"),
    	InfraId:       pulumi.String("string"),
    	Mtls: &chaos.InfrastructureV2MtlsArgs{
    		CertPath:   pulumi.String("string"),
    		KeyPath:    pulumi.String("string"),
    		SecretName: pulumi.String("string"),
    		Url:        pulumi.String("string"),
    	},
    	Name:        pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Envs: chaos.InfrastructureV2EnvArray{
    		&chaos.InfrastructureV2EnvArgs{
    			Name:      pulumi.String("string"),
    			Key:       pulumi.String("string"),
    			Value:     pulumi.String("string"),
    			ValueFrom: pulumi.String("string"),
    		},
    	},
    	ImageRegistries: chaos.InfrastructureV2ImageRegistryArray{
    		&chaos.InfrastructureV2ImageRegistryArgs{
    			CreatedAt: pulumi.String("string"),
    			CustomImages: chaos.InfrastructureV2ImageRegistryCustomImageArray{
    				&chaos.InfrastructureV2ImageRegistryCustomImageArgs{
    					Ddcr:       pulumi.String("string"),
    					DdcrFault:  pulumi.String("string"),
    					DdcrLib:    pulumi.String("string"),
    					LogWatcher: pulumi.String("string"),
    				},
    			},
    			Identifiers: chaos.InfrastructureV2ImageRegistryIdentifierArray{
    				&chaos.InfrastructureV2ImageRegistryIdentifierArgs{
    					AccountIdentifier: pulumi.String("string"),
    					OrgIdentifier:     pulumi.String("string"),
    					ProjectIdentifier: pulumi.String("string"),
    				},
    			},
    			InfraId:           pulumi.String("string"),
    			IsDefault:         pulumi.Bool(false),
    			IsOverrideAllowed: pulumi.Bool(false),
    			IsPrivate:         pulumi.Bool(false),
    			RegistryAccount:   pulumi.String("string"),
    			RegistryServer:    pulumi.String("string"),
    			SecretName:        pulumi.String("string"),
    			UpdatedAt:         pulumi.String("string"),
    			UseCustomImages:   pulumi.Bool(false),
    		},
    	},
    	CorrelationId:      pulumi.String("string"),
    	InfraScope:         pulumi.String("string"),
    	InfraType:          pulumi.String("string"),
    	InsecureSkipVerify: pulumi.Bool(false),
    	Label: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	AiEnabled:        pulumi.Bool(false),
    	DiscoveryAgentId: pulumi.String("string"),
    	Namespace:        pulumi.String("string"),
    	NodeSelector: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Containers: pulumi.String("string"),
    	Annotation: pulumi.StringMap{
    		"string": pulumi.String("string"),
    	},
    	Proxy: &chaos.InfrastructureV2ProxyArgs{
    		Url:        pulumi.String("string"),
    		HttpProxy:  pulumi.String("string"),
    		HttpsProxy: pulumi.String("string"),
    		NoProxy:    pulumi.String("string"),
    	},
    	RunAsGroup:     pulumi.Int(0),
    	RunAsUser:      pulumi.Int(0),
    	ServiceAccount: pulumi.String("string"),
    	Tags: pulumi.StringArray{
    		pulumi.String("string"),
    	},
    	Tolerations: chaos.InfrastructureV2TolerationArray{
    		&chaos.InfrastructureV2TolerationArgs{
    			Effect:            pulumi.String("string"),
    			Key:               pulumi.String("string"),
    			Operator:          pulumi.String("string"),
    			TolerationSeconds: pulumi.Int(0),
    			Value:             pulumi.String("string"),
    		},
    	},
    	VolumeMounts: chaos.InfrastructureV2VolumeMountArray{
    		&chaos.InfrastructureV2VolumeMountArgs{
    			MountPath:        pulumi.String("string"),
    			Name:             pulumi.String("string"),
    			MountPropagation: pulumi.String("string"),
    			ReadOnly:         pulumi.Bool(false),
    			SubPath:          pulumi.String("string"),
    			SubPathExpr:      pulumi.String("string"),
    		},
    	},
    	Volumes: chaos.InfrastructureV2VolumeArray{
    		&chaos.InfrastructureV2VolumeArgs{
    			Name:      pulumi.String("string"),
    			SizeLimit: pulumi.String("string"),
    		},
    	},
    })
    
    var infrastructureV2Resource = new InfrastructureV2("infrastructureV2Resource", InfrastructureV2Args.builder()
        .environmentId("string")
        .projectId("string")
        .orgId("string")
        .infraId("string")
        .mtls(InfrastructureV2MtlsArgs.builder()
            .certPath("string")
            .keyPath("string")
            .secretName("string")
            .url("string")
            .build())
        .name("string")
        .description("string")
        .envs(InfrastructureV2EnvArgs.builder()
            .name("string")
            .key("string")
            .value("string")
            .valueFrom("string")
            .build())
        .imageRegistries(InfrastructureV2ImageRegistryArgs.builder()
            .createdAt("string")
            .customImages(InfrastructureV2ImageRegistryCustomImageArgs.builder()
                .ddcr("string")
                .ddcrFault("string")
                .ddcrLib("string")
                .logWatcher("string")
                .build())
            .identifiers(InfrastructureV2ImageRegistryIdentifierArgs.builder()
                .accountIdentifier("string")
                .orgIdentifier("string")
                .projectIdentifier("string")
                .build())
            .infraId("string")
            .isDefault(false)
            .isOverrideAllowed(false)
            .isPrivate(false)
            .registryAccount("string")
            .registryServer("string")
            .secretName("string")
            .updatedAt("string")
            .useCustomImages(false)
            .build())
        .correlationId("string")
        .infraScope("string")
        .infraType("string")
        .insecureSkipVerify(false)
        .label(Map.of("string", "string"))
        .aiEnabled(false)
        .discoveryAgentId("string")
        .namespace("string")
        .nodeSelector(Map.of("string", "string"))
        .containers("string")
        .annotation(Map.of("string", "string"))
        .proxy(InfrastructureV2ProxyArgs.builder()
            .url("string")
            .httpProxy("string")
            .httpsProxy("string")
            .noProxy("string")
            .build())
        .runAsGroup(0)
        .runAsUser(0)
        .serviceAccount("string")
        .tags("string")
        .tolerations(InfrastructureV2TolerationArgs.builder()
            .effect("string")
            .key("string")
            .operator("string")
            .tolerationSeconds(0)
            .value("string")
            .build())
        .volumeMounts(InfrastructureV2VolumeMountArgs.builder()
            .mountPath("string")
            .name("string")
            .mountPropagation("string")
            .readOnly(false)
            .subPath("string")
            .subPathExpr("string")
            .build())
        .volumes(InfrastructureV2VolumeArgs.builder()
            .name("string")
            .sizeLimit("string")
            .build())
        .build());
    
    infrastructure_v2_resource = harness.chaos.InfrastructureV2("infrastructureV2Resource",
        environment_id="string",
        project_id="string",
        org_id="string",
        infra_id="string",
        mtls={
            "cert_path": "string",
            "key_path": "string",
            "secret_name": "string",
            "url": "string",
        },
        name="string",
        description="string",
        envs=[{
            "name": "string",
            "key": "string",
            "value": "string",
            "value_from": "string",
        }],
        image_registries=[{
            "created_at": "string",
            "custom_images": [{
                "ddcr": "string",
                "ddcr_fault": "string",
                "ddcr_lib": "string",
                "log_watcher": "string",
            }],
            "identifiers": [{
                "account_identifier": "string",
                "org_identifier": "string",
                "project_identifier": "string",
            }],
            "infra_id": "string",
            "is_default": False,
            "is_override_allowed": False,
            "is_private": False,
            "registry_account": "string",
            "registry_server": "string",
            "secret_name": "string",
            "updated_at": "string",
            "use_custom_images": False,
        }],
        correlation_id="string",
        infra_scope="string",
        infra_type="string",
        insecure_skip_verify=False,
        label={
            "string": "string",
        },
        ai_enabled=False,
        discovery_agent_id="string",
        namespace="string",
        node_selector={
            "string": "string",
        },
        containers="string",
        annotation={
            "string": "string",
        },
        proxy={
            "url": "string",
            "http_proxy": "string",
            "https_proxy": "string",
            "no_proxy": "string",
        },
        run_as_group=0,
        run_as_user=0,
        service_account="string",
        tags=["string"],
        tolerations=[{
            "effect": "string",
            "key": "string",
            "operator": "string",
            "toleration_seconds": 0,
            "value": "string",
        }],
        volume_mounts=[{
            "mount_path": "string",
            "name": "string",
            "mount_propagation": "string",
            "read_only": False,
            "sub_path": "string",
            "sub_path_expr": "string",
        }],
        volumes=[{
            "name": "string",
            "size_limit": "string",
        }])
    
    const infrastructureV2Resource = new harness.chaos.InfrastructureV2("infrastructureV2Resource", {
        environmentId: "string",
        projectId: "string",
        orgId: "string",
        infraId: "string",
        mtls: {
            certPath: "string",
            keyPath: "string",
            secretName: "string",
            url: "string",
        },
        name: "string",
        description: "string",
        envs: [{
            name: "string",
            key: "string",
            value: "string",
            valueFrom: "string",
        }],
        imageRegistries: [{
            createdAt: "string",
            customImages: [{
                ddcr: "string",
                ddcrFault: "string",
                ddcrLib: "string",
                logWatcher: "string",
            }],
            identifiers: [{
                accountIdentifier: "string",
                orgIdentifier: "string",
                projectIdentifier: "string",
            }],
            infraId: "string",
            isDefault: false,
            isOverrideAllowed: false,
            isPrivate: false,
            registryAccount: "string",
            registryServer: "string",
            secretName: "string",
            updatedAt: "string",
            useCustomImages: false,
        }],
        correlationId: "string",
        infraScope: "string",
        infraType: "string",
        insecureSkipVerify: false,
        label: {
            string: "string",
        },
        aiEnabled: false,
        discoveryAgentId: "string",
        namespace: "string",
        nodeSelector: {
            string: "string",
        },
        containers: "string",
        annotation: {
            string: "string",
        },
        proxy: {
            url: "string",
            httpProxy: "string",
            httpsProxy: "string",
            noProxy: "string",
        },
        runAsGroup: 0,
        runAsUser: 0,
        serviceAccount: "string",
        tags: ["string"],
        tolerations: [{
            effect: "string",
            key: "string",
            operator: "string",
            tolerationSeconds: 0,
            value: "string",
        }],
        volumeMounts: [{
            mountPath: "string",
            name: "string",
            mountPropagation: "string",
            readOnly: false,
            subPath: "string",
            subPathExpr: "string",
        }],
        volumes: [{
            name: "string",
            sizeLimit: "string",
        }],
    });
    
    type: harness:chaos:InfrastructureV2
    properties:
        aiEnabled: false
        annotation:
            string: string
        containers: string
        correlationId: string
        description: string
        discoveryAgentId: string
        environmentId: string
        envs:
            - key: string
              name: string
              value: string
              valueFrom: string
        imageRegistries:
            - createdAt: string
              customImages:
                - ddcr: string
                  ddcrFault: string
                  ddcrLib: string
                  logWatcher: string
              identifiers:
                - accountIdentifier: string
                  orgIdentifier: string
                  projectIdentifier: string
              infraId: string
              isDefault: false
              isOverrideAllowed: false
              isPrivate: false
              registryAccount: string
              registryServer: string
              secretName: string
              updatedAt: string
              useCustomImages: false
        infraId: string
        infraScope: string
        infraType: string
        insecureSkipVerify: false
        label:
            string: string
        mtls:
            certPath: string
            keyPath: string
            secretName: string
            url: string
        name: string
        namespace: string
        nodeSelector:
            string: string
        orgId: string
        projectId: string
        proxy:
            httpProxy: string
            httpsProxy: string
            noProxy: string
            url: string
        runAsGroup: 0
        runAsUser: 0
        serviceAccount: string
        tags:
            - string
        tolerations:
            - effect: string
              key: string
              operator: string
              tolerationSeconds: 0
              value: string
        volumeMounts:
            - mountPath: string
              mountPropagation: string
              name: string
              readOnly: false
              subPath: string
              subPathExpr: string
        volumes:
            - name: string
              sizeLimit: string
    

    InfrastructureV2 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 InfrastructureV2 resource accepts the following input properties:

    EnvironmentId string
    The ID of the environment.
    InfraId string
    ID of the infrastructure.
    OrgId string
    The ID of the organization.
    ProjectId string
    The ID of the project.
    AiEnabled bool
    Enable AI features for the infrastructure.
    Annotation Dictionary<string, string>
    Annotations to apply to the infrastructure pods.
    Containers string
    Container configurations.
    CorrelationId string
    Correlation ID for the request.
    Description string
    Description of the infrastructure.
    DiscoveryAgentId string
    ID of the discovery agent to use.
    Envs List<InfrastructureV2Env>
    List of environment variables to set in the container.
    ImageRegistries List<InfrastructureV2ImageRegistry>
    Configuration for the container image registry.
    InfraScope string
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    InfraType string
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    InsecureSkipVerify bool
    Skip TLS verification for the infrastructure.
    Label Dictionary<string, string>
    Labels to apply to the infrastructure pods.
    Mtls InfrastructureV2Mtls
    mTLS configuration for the infrastructure.
    Name string
    Name of the infrastructure.
    Namespace string
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    NodeSelector Dictionary<string, string>
    Node selector for the infrastructure pods.
    Proxy InfrastructureV2Proxy
    Proxy configuration for the infrastructure.
    RunAsGroup int
    Group ID to run the infrastructure as.
    RunAsUser int
    User ID to run the infrastructure as.
    ServiceAccount string
    Service account used by the infrastructure.
    Tags List<string>
    Tags for the infrastructure.
    Tolerations List<InfrastructureV2Toleration>
    If specified, the pod's tolerations.
    VolumeMounts List<InfrastructureV2VolumeMount>
    Volume mounts for the container.
    Volumes List<InfrastructureV2Volume>
    Volumes to be created in the infrastructure.
    EnvironmentId string
    The ID of the environment.
    InfraId string
    ID of the infrastructure.
    OrgId string
    The ID of the organization.
    ProjectId string
    The ID of the project.
    AiEnabled bool
    Enable AI features for the infrastructure.
    Annotation map[string]string
    Annotations to apply to the infrastructure pods.
    Containers string
    Container configurations.
    CorrelationId string
    Correlation ID for the request.
    Description string
    Description of the infrastructure.
    DiscoveryAgentId string
    ID of the discovery agent to use.
    Envs []InfrastructureV2EnvArgs
    List of environment variables to set in the container.
    ImageRegistries []InfrastructureV2ImageRegistryArgs
    Configuration for the container image registry.
    InfraScope string
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    InfraType string
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    InsecureSkipVerify bool
    Skip TLS verification for the infrastructure.
    Label map[string]string
    Labels to apply to the infrastructure pods.
    Mtls InfrastructureV2MtlsArgs
    mTLS configuration for the infrastructure.
    Name string
    Name of the infrastructure.
    Namespace string
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    NodeSelector map[string]string
    Node selector for the infrastructure pods.
    Proxy InfrastructureV2ProxyArgs
    Proxy configuration for the infrastructure.
    RunAsGroup int
    Group ID to run the infrastructure as.
    RunAsUser int
    User ID to run the infrastructure as.
    ServiceAccount string
    Service account used by the infrastructure.
    Tags []string
    Tags for the infrastructure.
    Tolerations []InfrastructureV2TolerationArgs
    If specified, the pod's tolerations.
    VolumeMounts []InfrastructureV2VolumeMountArgs
    Volume mounts for the container.
    Volumes []InfrastructureV2VolumeArgs
    Volumes to be created in the infrastructure.
    environmentId String
    The ID of the environment.
    infraId String
    ID of the infrastructure.
    orgId String
    The ID of the organization.
    projectId String
    The ID of the project.
    aiEnabled Boolean
    Enable AI features for the infrastructure.
    annotation Map<String,String>
    Annotations to apply to the infrastructure pods.
    containers String
    Container configurations.
    correlationId String
    Correlation ID for the request.
    description String
    Description of the infrastructure.
    discoveryAgentId String
    ID of the discovery agent to use.
    envs List<InfrastructureV2Env>
    List of environment variables to set in the container.
    imageRegistries List<InfrastructureV2ImageRegistry>
    Configuration for the container image registry.
    infraScope String
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    infraType String
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    insecureSkipVerify Boolean
    Skip TLS verification for the infrastructure.
    label Map<String,String>
    Labels to apply to the infrastructure pods.
    mtls InfrastructureV2Mtls
    mTLS configuration for the infrastructure.
    name String
    Name of the infrastructure.
    namespace String
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    nodeSelector Map<String,String>
    Node selector for the infrastructure pods.
    proxy InfrastructureV2Proxy
    Proxy configuration for the infrastructure.
    runAsGroup Integer
    Group ID to run the infrastructure as.
    runAsUser Integer
    User ID to run the infrastructure as.
    serviceAccount String
    Service account used by the infrastructure.
    tags List<String>
    Tags for the infrastructure.
    tolerations List<InfrastructureV2Toleration>
    If specified, the pod's tolerations.
    volumeMounts List<InfrastructureV2VolumeMount>
    Volume mounts for the container.
    volumes List<InfrastructureV2Volume>
    Volumes to be created in the infrastructure.
    environmentId string
    The ID of the environment.
    infraId string
    ID of the infrastructure.
    orgId string
    The ID of the organization.
    projectId string
    The ID of the project.
    aiEnabled boolean
    Enable AI features for the infrastructure.
    annotation {[key: string]: string}
    Annotations to apply to the infrastructure pods.
    containers string
    Container configurations.
    correlationId string
    Correlation ID for the request.
    description string
    Description of the infrastructure.
    discoveryAgentId string
    ID of the discovery agent to use.
    envs InfrastructureV2Env[]
    List of environment variables to set in the container.
    imageRegistries InfrastructureV2ImageRegistry[]
    Configuration for the container image registry.
    infraScope string
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    infraType string
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    insecureSkipVerify boolean
    Skip TLS verification for the infrastructure.
    label {[key: string]: string}
    Labels to apply to the infrastructure pods.
    mtls InfrastructureV2Mtls
    mTLS configuration for the infrastructure.
    name string
    Name of the infrastructure.
    namespace string
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    nodeSelector {[key: string]: string}
    Node selector for the infrastructure pods.
    proxy InfrastructureV2Proxy
    Proxy configuration for the infrastructure.
    runAsGroup number
    Group ID to run the infrastructure as.
    runAsUser number
    User ID to run the infrastructure as.
    serviceAccount string
    Service account used by the infrastructure.
    tags string[]
    Tags for the infrastructure.
    tolerations InfrastructureV2Toleration[]
    If specified, the pod's tolerations.
    volumeMounts InfrastructureV2VolumeMount[]
    Volume mounts for the container.
    volumes InfrastructureV2Volume[]
    Volumes to be created in the infrastructure.
    environment_id str
    The ID of the environment.
    infra_id str
    ID of the infrastructure.
    org_id str
    The ID of the organization.
    project_id str
    The ID of the project.
    ai_enabled bool
    Enable AI features for the infrastructure.
    annotation Mapping[str, str]
    Annotations to apply to the infrastructure pods.
    containers str
    Container configurations.
    correlation_id str
    Correlation ID for the request.
    description str
    Description of the infrastructure.
    discovery_agent_id str
    ID of the discovery agent to use.
    envs Sequence[InfrastructureV2EnvArgs]
    List of environment variables to set in the container.
    image_registries Sequence[InfrastructureV2ImageRegistryArgs]
    Configuration for the container image registry.
    infra_scope str
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    infra_type str
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    insecure_skip_verify bool
    Skip TLS verification for the infrastructure.
    label Mapping[str, str]
    Labels to apply to the infrastructure pods.
    mtls InfrastructureV2MtlsArgs
    mTLS configuration for the infrastructure.
    name str
    Name of the infrastructure.
    namespace str
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    node_selector Mapping[str, str]
    Node selector for the infrastructure pods.
    proxy InfrastructureV2ProxyArgs
    Proxy configuration for the infrastructure.
    run_as_group int
    Group ID to run the infrastructure as.
    run_as_user int
    User ID to run the infrastructure as.
    service_account str
    Service account used by the infrastructure.
    tags Sequence[str]
    Tags for the infrastructure.
    tolerations Sequence[InfrastructureV2TolerationArgs]
    If specified, the pod's tolerations.
    volume_mounts Sequence[InfrastructureV2VolumeMountArgs]
    Volume mounts for the container.
    volumes Sequence[InfrastructureV2VolumeArgs]
    Volumes to be created in the infrastructure.
    environmentId String
    The ID of the environment.
    infraId String
    ID of the infrastructure.
    orgId String
    The ID of the organization.
    projectId String
    The ID of the project.
    aiEnabled Boolean
    Enable AI features for the infrastructure.
    annotation Map<String>
    Annotations to apply to the infrastructure pods.
    containers String
    Container configurations.
    correlationId String
    Correlation ID for the request.
    description String
    Description of the infrastructure.
    discoveryAgentId String
    ID of the discovery agent to use.
    envs List<Property Map>
    List of environment variables to set in the container.
    imageRegistries List<Property Map>
    Configuration for the container image registry.
    infraScope String
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    infraType String
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    insecureSkipVerify Boolean
    Skip TLS verification for the infrastructure.
    label Map<String>
    Labels to apply to the infrastructure pods.
    mtls Property Map
    mTLS configuration for the infrastructure.
    name String
    Name of the infrastructure.
    namespace String
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    nodeSelector Map<String>
    Node selector for the infrastructure pods.
    proxy Property Map
    Proxy configuration for the infrastructure.
    runAsGroup Number
    Group ID to run the infrastructure as.
    runAsUser Number
    User ID to run the infrastructure as.
    serviceAccount String
    Service account used by the infrastructure.
    tags List<String>
    Tags for the infrastructure.
    tolerations List<Property Map>
    If specified, the pod's tolerations.
    volumeMounts List<Property Map>
    Volume mounts for the container.
    volumes List<Property Map>
    Volumes to be created in the infrastructure.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the InfrastructureV2 resource produces the following output properties:

    CreatedAt string
    Creation timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifiers List<InfrastructureV2Identifier>
    Identifier for the infrastructure.
    Identity string
    Identity for the infrastructure.
    InfraNamespace string
    Namespace where the infrastructure is installed.
    InstallCommand string
    Installation command for the infrastructure.
    K8sConnectorId string
    Kubernetes connector identifier.
    Status string
    Status of the infrastructure.
    UpdatedAt string
    Last update timestamp.
    CreatedAt string
    Creation timestamp.
    Id string
    The provider-assigned unique ID for this managed resource.
    Identifiers []InfrastructureV2Identifier
    Identifier for the infrastructure.
    Identity string
    Identity for the infrastructure.
    InfraNamespace string
    Namespace where the infrastructure is installed.
    InstallCommand string
    Installation command for the infrastructure.
    K8sConnectorId string
    Kubernetes connector identifier.
    Status string
    Status of the infrastructure.
    UpdatedAt string
    Last update timestamp.
    createdAt String
    Creation timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    identifiers List<InfrastructureV2Identifier>
    Identifier for the infrastructure.
    identity String
    Identity for the infrastructure.
    infraNamespace String
    Namespace where the infrastructure is installed.
    installCommand String
    Installation command for the infrastructure.
    k8sConnectorId String
    Kubernetes connector identifier.
    status String
    Status of the infrastructure.
    updatedAt String
    Last update timestamp.
    createdAt string
    Creation timestamp.
    id string
    The provider-assigned unique ID for this managed resource.
    identifiers InfrastructureV2Identifier[]
    Identifier for the infrastructure.
    identity string
    Identity for the infrastructure.
    infraNamespace string
    Namespace where the infrastructure is installed.
    installCommand string
    Installation command for the infrastructure.
    k8sConnectorId string
    Kubernetes connector identifier.
    status string
    Status of the infrastructure.
    updatedAt string
    Last update timestamp.
    created_at str
    Creation timestamp.
    id str
    The provider-assigned unique ID for this managed resource.
    identifiers Sequence[InfrastructureV2Identifier]
    Identifier for the infrastructure.
    identity str
    Identity for the infrastructure.
    infra_namespace str
    Namespace where the infrastructure is installed.
    install_command str
    Installation command for the infrastructure.
    k8s_connector_id str
    Kubernetes connector identifier.
    status str
    Status of the infrastructure.
    updated_at str
    Last update timestamp.
    createdAt String
    Creation timestamp.
    id String
    The provider-assigned unique ID for this managed resource.
    identifiers List<Property Map>
    Identifier for the infrastructure.
    identity String
    Identity for the infrastructure.
    infraNamespace String
    Namespace where the infrastructure is installed.
    installCommand String
    Installation command for the infrastructure.
    k8sConnectorId String
    Kubernetes connector identifier.
    status String
    Status of the infrastructure.
    updatedAt String
    Last update timestamp.

    Look up Existing InfrastructureV2 Resource

    Get an existing InfrastructureV2 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?: InfrastructureV2State, opts?: CustomResourceOptions): InfrastructureV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            ai_enabled: Optional[bool] = None,
            annotation: Optional[Mapping[str, str]] = None,
            containers: Optional[str] = None,
            correlation_id: Optional[str] = None,
            created_at: Optional[str] = None,
            description: Optional[str] = None,
            discovery_agent_id: Optional[str] = None,
            environment_id: Optional[str] = None,
            envs: Optional[Sequence[InfrastructureV2EnvArgs]] = None,
            identifiers: Optional[Sequence[InfrastructureV2IdentifierArgs]] = None,
            identity: Optional[str] = None,
            image_registries: Optional[Sequence[InfrastructureV2ImageRegistryArgs]] = None,
            infra_id: Optional[str] = None,
            infra_namespace: Optional[str] = None,
            infra_scope: Optional[str] = None,
            infra_type: Optional[str] = None,
            insecure_skip_verify: Optional[bool] = None,
            install_command: Optional[str] = None,
            k8s_connector_id: Optional[str] = None,
            label: Optional[Mapping[str, str]] = None,
            mtls: Optional[InfrastructureV2MtlsArgs] = None,
            name: Optional[str] = None,
            namespace: Optional[str] = None,
            node_selector: Optional[Mapping[str, str]] = None,
            org_id: Optional[str] = None,
            project_id: Optional[str] = None,
            proxy: Optional[InfrastructureV2ProxyArgs] = None,
            run_as_group: Optional[int] = None,
            run_as_user: Optional[int] = None,
            service_account: Optional[str] = None,
            status: Optional[str] = None,
            tags: Optional[Sequence[str]] = None,
            tolerations: Optional[Sequence[InfrastructureV2TolerationArgs]] = None,
            updated_at: Optional[str] = None,
            volume_mounts: Optional[Sequence[InfrastructureV2VolumeMountArgs]] = None,
            volumes: Optional[Sequence[InfrastructureV2VolumeArgs]] = None) -> InfrastructureV2
    func GetInfrastructureV2(ctx *Context, name string, id IDInput, state *InfrastructureV2State, opts ...ResourceOption) (*InfrastructureV2, error)
    public static InfrastructureV2 Get(string name, Input<string> id, InfrastructureV2State? state, CustomResourceOptions? opts = null)
    public static InfrastructureV2 get(String name, Output<String> id, InfrastructureV2State state, CustomResourceOptions options)
    resources:  _:    type: harness:chaos:InfrastructureV2    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:
    AiEnabled bool
    Enable AI features for the infrastructure.
    Annotation Dictionary<string, string>
    Annotations to apply to the infrastructure pods.
    Containers string
    Container configurations.
    CorrelationId string
    Correlation ID for the request.
    CreatedAt string
    Creation timestamp.
    Description string
    Description of the infrastructure.
    DiscoveryAgentId string
    ID of the discovery agent to use.
    EnvironmentId string
    The ID of the environment.
    Envs List<InfrastructureV2Env>
    List of environment variables to set in the container.
    Identifiers List<InfrastructureV2Identifier>
    Identifier for the infrastructure.
    Identity string
    Identity for the infrastructure.
    ImageRegistries List<InfrastructureV2ImageRegistry>
    Configuration for the container image registry.
    InfraId string
    ID of the infrastructure.
    InfraNamespace string
    Namespace where the infrastructure is installed.
    InfraScope string
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    InfraType string
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    InsecureSkipVerify bool
    Skip TLS verification for the infrastructure.
    InstallCommand string
    Installation command for the infrastructure.
    K8sConnectorId string
    Kubernetes connector identifier.
    Label Dictionary<string, string>
    Labels to apply to the infrastructure pods.
    Mtls InfrastructureV2Mtls
    mTLS configuration for the infrastructure.
    Name string
    Name of the infrastructure.
    Namespace string
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    NodeSelector Dictionary<string, string>
    Node selector for the infrastructure pods.
    OrgId string
    The ID of the organization.
    ProjectId string
    The ID of the project.
    Proxy InfrastructureV2Proxy
    Proxy configuration for the infrastructure.
    RunAsGroup int
    Group ID to run the infrastructure as.
    RunAsUser int
    User ID to run the infrastructure as.
    ServiceAccount string
    Service account used by the infrastructure.
    Status string
    Status of the infrastructure.
    Tags List<string>
    Tags for the infrastructure.
    Tolerations List<InfrastructureV2Toleration>
    If specified, the pod's tolerations.
    UpdatedAt string
    Last update timestamp.
    VolumeMounts List<InfrastructureV2VolumeMount>
    Volume mounts for the container.
    Volumes List<InfrastructureV2Volume>
    Volumes to be created in the infrastructure.
    AiEnabled bool
    Enable AI features for the infrastructure.
    Annotation map[string]string
    Annotations to apply to the infrastructure pods.
    Containers string
    Container configurations.
    CorrelationId string
    Correlation ID for the request.
    CreatedAt string
    Creation timestamp.
    Description string
    Description of the infrastructure.
    DiscoveryAgentId string
    ID of the discovery agent to use.
    EnvironmentId string
    The ID of the environment.
    Envs []InfrastructureV2EnvArgs
    List of environment variables to set in the container.
    Identifiers []InfrastructureV2IdentifierArgs
    Identifier for the infrastructure.
    Identity string
    Identity for the infrastructure.
    ImageRegistries []InfrastructureV2ImageRegistryArgs
    Configuration for the container image registry.
    InfraId string
    ID of the infrastructure.
    InfraNamespace string
    Namespace where the infrastructure is installed.
    InfraScope string
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    InfraType string
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    InsecureSkipVerify bool
    Skip TLS verification for the infrastructure.
    InstallCommand string
    Installation command for the infrastructure.
    K8sConnectorId string
    Kubernetes connector identifier.
    Label map[string]string
    Labels to apply to the infrastructure pods.
    Mtls InfrastructureV2MtlsArgs
    mTLS configuration for the infrastructure.
    Name string
    Name of the infrastructure.
    Namespace string
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    NodeSelector map[string]string
    Node selector for the infrastructure pods.
    OrgId string
    The ID of the organization.
    ProjectId string
    The ID of the project.
    Proxy InfrastructureV2ProxyArgs
    Proxy configuration for the infrastructure.
    RunAsGroup int
    Group ID to run the infrastructure as.
    RunAsUser int
    User ID to run the infrastructure as.
    ServiceAccount string
    Service account used by the infrastructure.
    Status string
    Status of the infrastructure.
    Tags []string
    Tags for the infrastructure.
    Tolerations []InfrastructureV2TolerationArgs
    If specified, the pod's tolerations.
    UpdatedAt string
    Last update timestamp.
    VolumeMounts []InfrastructureV2VolumeMountArgs
    Volume mounts for the container.
    Volumes []InfrastructureV2VolumeArgs
    Volumes to be created in the infrastructure.
    aiEnabled Boolean
    Enable AI features for the infrastructure.
    annotation Map<String,String>
    Annotations to apply to the infrastructure pods.
    containers String
    Container configurations.
    correlationId String
    Correlation ID for the request.
    createdAt String
    Creation timestamp.
    description String
    Description of the infrastructure.
    discoveryAgentId String
    ID of the discovery agent to use.
    environmentId String
    The ID of the environment.
    envs List<InfrastructureV2Env>
    List of environment variables to set in the container.
    identifiers List<InfrastructureV2Identifier>
    Identifier for the infrastructure.
    identity String
    Identity for the infrastructure.
    imageRegistries List<InfrastructureV2ImageRegistry>
    Configuration for the container image registry.
    infraId String
    ID of the infrastructure.
    infraNamespace String
    Namespace where the infrastructure is installed.
    infraScope String
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    infraType String
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    insecureSkipVerify Boolean
    Skip TLS verification for the infrastructure.
    installCommand String
    Installation command for the infrastructure.
    k8sConnectorId String
    Kubernetes connector identifier.
    label Map<String,String>
    Labels to apply to the infrastructure pods.
    mtls InfrastructureV2Mtls
    mTLS configuration for the infrastructure.
    name String
    Name of the infrastructure.
    namespace String
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    nodeSelector Map<String,String>
    Node selector for the infrastructure pods.
    orgId String
    The ID of the organization.
    projectId String
    The ID of the project.
    proxy InfrastructureV2Proxy
    Proxy configuration for the infrastructure.
    runAsGroup Integer
    Group ID to run the infrastructure as.
    runAsUser Integer
    User ID to run the infrastructure as.
    serviceAccount String
    Service account used by the infrastructure.
    status String
    Status of the infrastructure.
    tags List<String>
    Tags for the infrastructure.
    tolerations List<InfrastructureV2Toleration>
    If specified, the pod's tolerations.
    updatedAt String
    Last update timestamp.
    volumeMounts List<InfrastructureV2VolumeMount>
    Volume mounts for the container.
    volumes List<InfrastructureV2Volume>
    Volumes to be created in the infrastructure.
    aiEnabled boolean
    Enable AI features for the infrastructure.
    annotation {[key: string]: string}
    Annotations to apply to the infrastructure pods.
    containers string
    Container configurations.
    correlationId string
    Correlation ID for the request.
    createdAt string
    Creation timestamp.
    description string
    Description of the infrastructure.
    discoveryAgentId string
    ID of the discovery agent to use.
    environmentId string
    The ID of the environment.
    envs InfrastructureV2Env[]
    List of environment variables to set in the container.
    identifiers InfrastructureV2Identifier[]
    Identifier for the infrastructure.
    identity string
    Identity for the infrastructure.
    imageRegistries InfrastructureV2ImageRegistry[]
    Configuration for the container image registry.
    infraId string
    ID of the infrastructure.
    infraNamespace string
    Namespace where the infrastructure is installed.
    infraScope string
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    infraType string
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    insecureSkipVerify boolean
    Skip TLS verification for the infrastructure.
    installCommand string
    Installation command for the infrastructure.
    k8sConnectorId string
    Kubernetes connector identifier.
    label {[key: string]: string}
    Labels to apply to the infrastructure pods.
    mtls InfrastructureV2Mtls
    mTLS configuration for the infrastructure.
    name string
    Name of the infrastructure.
    namespace string
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    nodeSelector {[key: string]: string}
    Node selector for the infrastructure pods.
    orgId string
    The ID of the organization.
    projectId string
    The ID of the project.
    proxy InfrastructureV2Proxy
    Proxy configuration for the infrastructure.
    runAsGroup number
    Group ID to run the infrastructure as.
    runAsUser number
    User ID to run the infrastructure as.
    serviceAccount string
    Service account used by the infrastructure.
    status string
    Status of the infrastructure.
    tags string[]
    Tags for the infrastructure.
    tolerations InfrastructureV2Toleration[]
    If specified, the pod's tolerations.
    updatedAt string
    Last update timestamp.
    volumeMounts InfrastructureV2VolumeMount[]
    Volume mounts for the container.
    volumes InfrastructureV2Volume[]
    Volumes to be created in the infrastructure.
    ai_enabled bool
    Enable AI features for the infrastructure.
    annotation Mapping[str, str]
    Annotations to apply to the infrastructure pods.
    containers str
    Container configurations.
    correlation_id str
    Correlation ID for the request.
    created_at str
    Creation timestamp.
    description str
    Description of the infrastructure.
    discovery_agent_id str
    ID of the discovery agent to use.
    environment_id str
    The ID of the environment.
    envs Sequence[InfrastructureV2EnvArgs]
    List of environment variables to set in the container.
    identifiers Sequence[InfrastructureV2IdentifierArgs]
    Identifier for the infrastructure.
    identity str
    Identity for the infrastructure.
    image_registries Sequence[InfrastructureV2ImageRegistryArgs]
    Configuration for the container image registry.
    infra_id str
    ID of the infrastructure.
    infra_namespace str
    Namespace where the infrastructure is installed.
    infra_scope str
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    infra_type str
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    insecure_skip_verify bool
    Skip TLS verification for the infrastructure.
    install_command str
    Installation command for the infrastructure.
    k8s_connector_id str
    Kubernetes connector identifier.
    label Mapping[str, str]
    Labels to apply to the infrastructure pods.
    mtls InfrastructureV2MtlsArgs
    mTLS configuration for the infrastructure.
    name str
    Name of the infrastructure.
    namespace str
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    node_selector Mapping[str, str]
    Node selector for the infrastructure pods.
    org_id str
    The ID of the organization.
    project_id str
    The ID of the project.
    proxy InfrastructureV2ProxyArgs
    Proxy configuration for the infrastructure.
    run_as_group int
    Group ID to run the infrastructure as.
    run_as_user int
    User ID to run the infrastructure as.
    service_account str
    Service account used by the infrastructure.
    status str
    Status of the infrastructure.
    tags Sequence[str]
    Tags for the infrastructure.
    tolerations Sequence[InfrastructureV2TolerationArgs]
    If specified, the pod's tolerations.
    updated_at str
    Last update timestamp.
    volume_mounts Sequence[InfrastructureV2VolumeMountArgs]
    Volume mounts for the container.
    volumes Sequence[InfrastructureV2VolumeArgs]
    Volumes to be created in the infrastructure.
    aiEnabled Boolean
    Enable AI features for the infrastructure.
    annotation Map<String>
    Annotations to apply to the infrastructure pods.
    containers String
    Container configurations.
    correlationId String
    Correlation ID for the request.
    createdAt String
    Creation timestamp.
    description String
    Description of the infrastructure.
    discoveryAgentId String
    ID of the discovery agent to use.
    environmentId String
    The ID of the environment.
    envs List<Property Map>
    List of environment variables to set in the container.
    identifiers List<Property Map>
    Identifier for the infrastructure.
    identity String
    Identity for the infrastructure.
    imageRegistries List<Property Map>
    Configuration for the container image registry.
    infraId String
    ID of the infrastructure.
    infraNamespace String
    Namespace where the infrastructure is installed.
    infraScope String
    Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
    infraType String
    Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
    insecureSkipVerify Boolean
    Skip TLS verification for the infrastructure.
    installCommand String
    Installation command for the infrastructure.
    k8sConnectorId String
    Kubernetes connector identifier.
    label Map<String>
    Labels to apply to the infrastructure pods.
    mtls Property Map
    mTLS configuration for the infrastructure.
    name String
    Name of the infrastructure.
    namespace String
    Kubernetes namespace where the infrastructure will be installed. Maps to the infrastructure namespace.
    nodeSelector Map<String>
    Node selector for the infrastructure pods.
    orgId String
    The ID of the organization.
    projectId String
    The ID of the project.
    proxy Property Map
    Proxy configuration for the infrastructure.
    runAsGroup Number
    Group ID to run the infrastructure as.
    runAsUser Number
    User ID to run the infrastructure as.
    serviceAccount String
    Service account used by the infrastructure.
    status String
    Status of the infrastructure.
    tags List<String>
    Tags for the infrastructure.
    tolerations List<Property Map>
    If specified, the pod's tolerations.
    updatedAt String
    Last update timestamp.
    volumeMounts List<Property Map>
    Volume mounts for the container.
    volumes List<Property Map>
    Volumes to be created in the infrastructure.

    Supporting Types

    InfrastructureV2Env, InfrastructureV2EnvArgs

    Name string
    Name of the environment variable. Must be a C_IDENTIFIER.
    Key string
    Variable name from a ConfigMap or Secret. Required when value_from is configMapKeyRef or secretKeyRef.
    Value string
    Variable references $(VARNAME) are expanded using the container's environment. If the variable cannot be resolved, the reference in the input string will be unchanged. The $(VARNAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".
    ValueFrom string
    Source for the environment variable's value. Cannot be used if value is not empty.
    Name string
    Name of the environment variable. Must be a C_IDENTIFIER.
    Key string
    Variable name from a ConfigMap or Secret. Required when value_from is configMapKeyRef or secretKeyRef.
    Value string
    Variable references $(VARNAME) are expanded using the container's environment. If the variable cannot be resolved, the reference in the input string will be unchanged. The $(VARNAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".
    ValueFrom string
    Source for the environment variable's value. Cannot be used if value is not empty.
    name String
    Name of the environment variable. Must be a C_IDENTIFIER.
    key String
    Variable name from a ConfigMap or Secret. Required when value_from is configMapKeyRef or secretKeyRef.
    value String
    Variable references $(VARNAME) are expanded using the container's environment. If the variable cannot be resolved, the reference in the input string will be unchanged. The $(VARNAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".
    valueFrom String
    Source for the environment variable's value. Cannot be used if value is not empty.
    name string
    Name of the environment variable. Must be a C_IDENTIFIER.
    key string
    Variable name from a ConfigMap or Secret. Required when value_from is configMapKeyRef or secretKeyRef.
    value string
    Variable references $(VARNAME) are expanded using the container's environment. If the variable cannot be resolved, the reference in the input string will be unchanged. The $(VARNAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".
    valueFrom string
    Source for the environment variable's value. Cannot be used if value is not empty.
    name str
    Name of the environment variable. Must be a C_IDENTIFIER.
    key str
    Variable name from a ConfigMap or Secret. Required when value_from is configMapKeyRef or secretKeyRef.
    value str
    Variable references $(VARNAME) are expanded using the container's environment. If the variable cannot be resolved, the reference in the input string will be unchanged. The $(VARNAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".
    value_from str
    Source for the environment variable's value. Cannot be used if value is not empty.
    name String
    Name of the environment variable. Must be a C_IDENTIFIER.
    key String
    Variable name from a ConfigMap or Secret. Required when value_from is configMapKeyRef or secretKeyRef.
    value String
    Variable references $(VARNAME) are expanded using the container's environment. If the variable cannot be resolved, the reference in the input string will be unchanged. The $(VARNAME) syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped references will never be expanded, regardless of whether the variable exists or not. Defaults to "".
    valueFrom String
    Source for the environment variable's value. Cannot be used if value is not empty.

    InfrastructureV2Identifier, InfrastructureV2IdentifierArgs

    AccountIdentifier string
    Account identifier.
    OrgIdentifier string
    Organization identifier.
    ProjectIdentifier string
    Project identifier.
    AccountIdentifier string
    Account identifier.
    OrgIdentifier string
    Organization identifier.
    ProjectIdentifier string
    Project identifier.
    accountIdentifier String
    Account identifier.
    orgIdentifier String
    Organization identifier.
    projectIdentifier String
    Project identifier.
    accountIdentifier string
    Account identifier.
    orgIdentifier string
    Organization identifier.
    projectIdentifier string
    Project identifier.
    account_identifier str
    Account identifier.
    org_identifier str
    Organization identifier.
    project_identifier str
    Project identifier.
    accountIdentifier String
    Account identifier.
    orgIdentifier String
    Organization identifier.
    projectIdentifier String
    Project identifier.

    InfrastructureV2ImageRegistry, InfrastructureV2ImageRegistryArgs

    CreatedAt string
    Timestamp when the registry was created.
    CustomImages List<InfrastructureV2ImageRegistryCustomImage>
    Custom image configurations. Required when usecustomimages is true.
    Identifiers List<InfrastructureV2ImageRegistryIdentifier>
    Scoped identifiers for the registry.
    InfraId string
    ID of the infrastructure.
    IsDefault bool
    Whether this is the default registry.
    IsOverrideAllowed bool
    Whether override is allowed for this registry.
    IsPrivate bool
    Whether the registry is private.
    RegistryAccount string
    The account name for the container registry.
    RegistryServer string
    The container image registry server URL (e.g., docker.io, gcr.io).
    SecretName string
    Name of the Kubernetes secret containing registry credentials.
    UpdatedAt string
    Timestamp when the registry was last updated.
    UseCustomImages bool
    Whether to use custom images instead of default ones.
    CreatedAt string
    Timestamp when the registry was created.
    CustomImages []InfrastructureV2ImageRegistryCustomImage
    Custom image configurations. Required when usecustomimages is true.
    Identifiers []InfrastructureV2ImageRegistryIdentifier
    Scoped identifiers for the registry.
    InfraId string
    ID of the infrastructure.
    IsDefault bool
    Whether this is the default registry.
    IsOverrideAllowed bool
    Whether override is allowed for this registry.
    IsPrivate bool
    Whether the registry is private.
    RegistryAccount string
    The account name for the container registry.
    RegistryServer string
    The container image registry server URL (e.g., docker.io, gcr.io).
    SecretName string
    Name of the Kubernetes secret containing registry credentials.
    UpdatedAt string
    Timestamp when the registry was last updated.
    UseCustomImages bool
    Whether to use custom images instead of default ones.
    createdAt String
    Timestamp when the registry was created.
    customImages List<InfrastructureV2ImageRegistryCustomImage>
    Custom image configurations. Required when usecustomimages is true.
    identifiers List<InfrastructureV2ImageRegistryIdentifier>
    Scoped identifiers for the registry.
    infraId String
    ID of the infrastructure.
    isDefault Boolean
    Whether this is the default registry.
    isOverrideAllowed Boolean
    Whether override is allowed for this registry.
    isPrivate Boolean
    Whether the registry is private.
    registryAccount String
    The account name for the container registry.
    registryServer String
    The container image registry server URL (e.g., docker.io, gcr.io).
    secretName String
    Name of the Kubernetes secret containing registry credentials.
    updatedAt String
    Timestamp when the registry was last updated.
    useCustomImages Boolean
    Whether to use custom images instead of default ones.
    createdAt string
    Timestamp when the registry was created.
    customImages InfrastructureV2ImageRegistryCustomImage[]
    Custom image configurations. Required when usecustomimages is true.
    identifiers InfrastructureV2ImageRegistryIdentifier[]
    Scoped identifiers for the registry.
    infraId string
    ID of the infrastructure.
    isDefault boolean
    Whether this is the default registry.
    isOverrideAllowed boolean
    Whether override is allowed for this registry.
    isPrivate boolean
    Whether the registry is private.
    registryAccount string
    The account name for the container registry.
    registryServer string
    The container image registry server URL (e.g., docker.io, gcr.io).
    secretName string
    Name of the Kubernetes secret containing registry credentials.
    updatedAt string
    Timestamp when the registry was last updated.
    useCustomImages boolean
    Whether to use custom images instead of default ones.
    created_at str
    Timestamp when the registry was created.
    custom_images Sequence[InfrastructureV2ImageRegistryCustomImage]
    Custom image configurations. Required when usecustomimages is true.
    identifiers Sequence[InfrastructureV2ImageRegistryIdentifier]
    Scoped identifiers for the registry.
    infra_id str
    ID of the infrastructure.
    is_default bool
    Whether this is the default registry.
    is_override_allowed bool
    Whether override is allowed for this registry.
    is_private bool
    Whether the registry is private.
    registry_account str
    The account name for the container registry.
    registry_server str
    The container image registry server URL (e.g., docker.io, gcr.io).
    secret_name str
    Name of the Kubernetes secret containing registry credentials.
    updated_at str
    Timestamp when the registry was last updated.
    use_custom_images bool
    Whether to use custom images instead of default ones.
    createdAt String
    Timestamp when the registry was created.
    customImages List<Property Map>
    Custom image configurations. Required when usecustomimages is true.
    identifiers List<Property Map>
    Scoped identifiers for the registry.
    infraId String
    ID of the infrastructure.
    isDefault Boolean
    Whether this is the default registry.
    isOverrideAllowed Boolean
    Whether override is allowed for this registry.
    isPrivate Boolean
    Whether the registry is private.
    registryAccount String
    The account name for the container registry.
    registryServer String
    The container image registry server URL (e.g., docker.io, gcr.io).
    secretName String
    Name of the Kubernetes secret containing registry credentials.
    updatedAt String
    Timestamp when the registry was last updated.
    useCustomImages Boolean
    Whether to use custom images instead of default ones.

    InfrastructureV2ImageRegistryCustomImage, InfrastructureV2ImageRegistryCustomImageArgs

    Ddcr string
    Custom image for ddcr.
    DdcrFault string
    Custom image for ddcr-fault.
    DdcrLib string
    Custom image for ddcr-lib.
    LogWatcher string
    Custom image for log-watcher.
    Ddcr string
    Custom image for ddcr.
    DdcrFault string
    Custom image for ddcr-fault.
    DdcrLib string
    Custom image for ddcr-lib.
    LogWatcher string
    Custom image for log-watcher.
    ddcr String
    Custom image for ddcr.
    ddcrFault String
    Custom image for ddcr-fault.
    ddcrLib String
    Custom image for ddcr-lib.
    logWatcher String
    Custom image for log-watcher.
    ddcr string
    Custom image for ddcr.
    ddcrFault string
    Custom image for ddcr-fault.
    ddcrLib string
    Custom image for ddcr-lib.
    logWatcher string
    Custom image for log-watcher.
    ddcr str
    Custom image for ddcr.
    ddcr_fault str
    Custom image for ddcr-fault.
    ddcr_lib str
    Custom image for ddcr-lib.
    log_watcher str
    Custom image for log-watcher.
    ddcr String
    Custom image for ddcr.
    ddcrFault String
    Custom image for ddcr-fault.
    ddcrLib String
    Custom image for ddcr-lib.
    logWatcher String
    Custom image for log-watcher.

    InfrastructureV2ImageRegistryIdentifier, InfrastructureV2ImageRegistryIdentifierArgs

    AccountIdentifier string
    Harness account identifier.
    OrgIdentifier string
    Harness organization identifier.
    ProjectIdentifier string
    Harness project identifier.
    AccountIdentifier string
    Harness account identifier.
    OrgIdentifier string
    Harness organization identifier.
    ProjectIdentifier string
    Harness project identifier.
    accountIdentifier String
    Harness account identifier.
    orgIdentifier String
    Harness organization identifier.
    projectIdentifier String
    Harness project identifier.
    accountIdentifier string
    Harness account identifier.
    orgIdentifier string
    Harness organization identifier.
    projectIdentifier string
    Harness project identifier.
    account_identifier str
    Harness account identifier.
    org_identifier str
    Harness organization identifier.
    project_identifier str
    Harness project identifier.
    accountIdentifier String
    Harness account identifier.
    orgIdentifier String
    Harness organization identifier.
    projectIdentifier String
    Harness project identifier.

    InfrastructureV2Mtls, InfrastructureV2MtlsArgs

    CertPath string
    Path to the certificate file for mTLS
    KeyPath string
    Path to the private key file for mTLS
    SecretName string
    Name of the Kubernetes secret containing mTLS certificates
    Url string
    URL for the mTLS endpoint
    CertPath string
    Path to the certificate file for mTLS
    KeyPath string
    Path to the private key file for mTLS
    SecretName string
    Name of the Kubernetes secret containing mTLS certificates
    Url string
    URL for the mTLS endpoint
    certPath String
    Path to the certificate file for mTLS
    keyPath String
    Path to the private key file for mTLS
    secretName String
    Name of the Kubernetes secret containing mTLS certificates
    url String
    URL for the mTLS endpoint
    certPath string
    Path to the certificate file for mTLS
    keyPath string
    Path to the private key file for mTLS
    secretName string
    Name of the Kubernetes secret containing mTLS certificates
    url string
    URL for the mTLS endpoint
    cert_path str
    Path to the certificate file for mTLS
    key_path str
    Path to the private key file for mTLS
    secret_name str
    Name of the Kubernetes secret containing mTLS certificates
    url str
    URL for the mTLS endpoint
    certPath String
    Path to the certificate file for mTLS
    keyPath String
    Path to the private key file for mTLS
    secretName String
    Name of the Kubernetes secret containing mTLS certificates
    url String
    URL for the mTLS endpoint

    InfrastructureV2Proxy, InfrastructureV2ProxyArgs

    Url string
    Proxy URL.
    HttpProxy string
    HTTP proxy URL.
    HttpsProxy string
    HTTPS proxy URL.
    NoProxy string
    List of hosts that should not use proxy.
    Url string
    Proxy URL.
    HttpProxy string
    HTTP proxy URL.
    HttpsProxy string
    HTTPS proxy URL.
    NoProxy string
    List of hosts that should not use proxy.
    url String
    Proxy URL.
    httpProxy String
    HTTP proxy URL.
    httpsProxy String
    HTTPS proxy URL.
    noProxy String
    List of hosts that should not use proxy.
    url string
    Proxy URL.
    httpProxy string
    HTTP proxy URL.
    httpsProxy string
    HTTPS proxy URL.
    noProxy string
    List of hosts that should not use proxy.
    url str
    Proxy URL.
    http_proxy str
    HTTP proxy URL.
    https_proxy str
    HTTPS proxy URL.
    no_proxy str
    List of hosts that should not use proxy.
    url String
    Proxy URL.
    httpProxy String
    HTTP proxy URL.
    httpsProxy String
    HTTPS proxy URL.
    noProxy String
    List of hosts that should not use proxy.

    InfrastructureV2Toleration, InfrastructureV2TolerationArgs

    Effect string
    Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
    Key string
    Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
    Operator string
    Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
    TolerationSeconds int
    TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
    Value string
    Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
    Effect string
    Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
    Key string
    Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
    Operator string
    Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
    TolerationSeconds int
    TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
    Value string
    Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
    effect String
    Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
    key String
    Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
    operator String
    Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
    tolerationSeconds Integer
    TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
    value String
    Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
    effect string
    Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
    key string
    Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
    operator string
    Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
    tolerationSeconds number
    TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
    value string
    Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
    effect str
    Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
    key str
    Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
    operator str
    Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
    toleration_seconds int
    TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
    value str
    Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.
    effect String
    Effect indicates the taint effect to match. When specified, allowed values are NoSchedule, PreferNoSchedule and NoExecute.
    key String
    Key is the taint key that the toleration applies to. Empty means match all taint keys. If the key is empty, operator must be Exists.
    operator String
    Operator represents a key's relationship to the value. Valid operators are Exists and Equal. Defaults to Equal.
    tolerationSeconds Number
    TolerationSeconds represents the period of time the toleration (which must be of effect NoExecute, otherwise this field is ignored) tolerates the taint. By default, it is not set, which means tolerate the taint forever (do not evict). Zero and negative values will be treated as 0 (evict immediately) by the system.
    value String
    Value is the taint value the toleration matches to. If the operator is Exists, the value should be empty, otherwise just a regular string.

    InfrastructureV2Volume, InfrastructureV2VolumeArgs

    Name string
    Name of the volume. Must be a DNS_LABEL and unique within the pod.
    SizeLimit string
    Size limit of the volume. Example: '10Gi', '100Mi'
    Name string
    Name of the volume. Must be a DNS_LABEL and unique within the pod.
    SizeLimit string
    Size limit of the volume. Example: '10Gi', '100Mi'
    name String
    Name of the volume. Must be a DNS_LABEL and unique within the pod.
    sizeLimit String
    Size limit of the volume. Example: '10Gi', '100Mi'
    name string
    Name of the volume. Must be a DNS_LABEL and unique within the pod.
    sizeLimit string
    Size limit of the volume. Example: '10Gi', '100Mi'
    name str
    Name of the volume. Must be a DNS_LABEL and unique within the pod.
    size_limit str
    Size limit of the volume. Example: '10Gi', '100Mi'
    name String
    Name of the volume. Must be a DNS_LABEL and unique within the pod.
    sizeLimit String
    Size limit of the volume. Example: '10Gi', '100Mi'

    InfrastructureV2VolumeMount, InfrastructureV2VolumeMountArgs

    MountPath string
    Path within the container at which the volume should be mounted. Must not contain ':'.
    Name string
    This must match the Name of a Volume.
    MountPropagation string
    Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
    ReadOnly bool
    Mounted read-only if true, read-write otherwise.
    SubPath string
    Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
    SubPathExpr string
    Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.
    MountPath string
    Path within the container at which the volume should be mounted. Must not contain ':'.
    Name string
    This must match the Name of a Volume.
    MountPropagation string
    Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
    ReadOnly bool
    Mounted read-only if true, read-write otherwise.
    SubPath string
    Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
    SubPathExpr string
    Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.
    mountPath String
    Path within the container at which the volume should be mounted. Must not contain ':'.
    name String
    This must match the Name of a Volume.
    mountPropagation String
    Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
    readOnly Boolean
    Mounted read-only if true, read-write otherwise.
    subPath String
    Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
    subPathExpr String
    Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.
    mountPath string
    Path within the container at which the volume should be mounted. Must not contain ':'.
    name string
    This must match the Name of a Volume.
    mountPropagation string
    Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
    readOnly boolean
    Mounted read-only if true, read-write otherwise.
    subPath string
    Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
    subPathExpr string
    Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.
    mount_path str
    Path within the container at which the volume should be mounted. Must not contain ':'.
    name str
    This must match the Name of a Volume.
    mount_propagation str
    Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
    read_only bool
    Mounted read-only if true, read-write otherwise.
    sub_path str
    Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
    sub_path_expr str
    Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.
    mountPath String
    Path within the container at which the volume should be mounted. Must not contain ':'.
    name String
    This must match the Name of a Volume.
    mountPropagation String
    Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
    readOnly Boolean
    Mounted read-only if true, read-write otherwise.
    subPath String
    Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
    subPathExpr String
    Expanded path within the volume from which the container's volume should be mounted. Behaves similarly to subpath but environment variable references $(VARNAME) are expanded using the container's environment. Mutually exclusive with sub_path.

    Import

    The pulumi import command can be used, for example:

    Import Project level Chaos Infrastructure v2

    $ pulumi import harness:chaos/infrastructureV2:InfrastructureV2 example <org_id>/<project_id>/<environment_id>/<infra_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.8.4 published on Thursday, Sep 11, 2025 by Pulumi