harness.chaos.InfrastructureV2
Explore with Pulumi AI
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:
- Environment
Id string - The ID of the environment.
- Infra
Id string - ID of the infrastructure.
- Org
Id string - The ID of the organization.
- Project
Id string - The ID of the project.
- Ai
Enabled bool - Enable AI features for the infrastructure.
- Annotation Dictionary<string, string>
- Annotations to apply to the infrastructure pods.
- Containers string
- Container configurations.
- Correlation
Id string - Correlation ID for the request.
- Description string
- Description of the infrastructure.
- Discovery
Agent stringId - ID of the discovery agent to use.
- Envs
List<Infrastructure
V2Env> - List of environment variables to set in the container.
- Image
Registries List<InfrastructureV2Image Registry> - Configuration for the container image registry.
- Infra
Scope string - Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
- Infra
Type string - Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
- Insecure
Skip boolVerify - Skip TLS verification for the infrastructure.
- Label Dictionary<string, string>
- Labels to apply to the infrastructure pods.
- Mtls
Infrastructure
V2Mtls - 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.
- Node
Selector Dictionary<string, string> - Node selector for the infrastructure pods.
- Proxy
Infrastructure
V2Proxy - Proxy configuration for the infrastructure.
- Run
As intGroup - Group ID to run the infrastructure as.
- Run
As intUser - User ID to run the infrastructure as.
- Service
Account string - Service account used by the infrastructure.
- List<string>
- Tags for the infrastructure.
- Tolerations
List<Infrastructure
V2Toleration> - If specified, the pod's tolerations.
- Volume
Mounts List<InfrastructureV2Volume Mount> - Volume mounts for the container.
- Volumes
List<Infrastructure
V2Volume> - Volumes to be created in the infrastructure.
- Environment
Id string - The ID of the environment.
- Infra
Id string - ID of the infrastructure.
- Org
Id string - The ID of the organization.
- Project
Id string - The ID of the project.
- Ai
Enabled bool - Enable AI features for the infrastructure.
- Annotation map[string]string
- Annotations to apply to the infrastructure pods.
- Containers string
- Container configurations.
- Correlation
Id string - Correlation ID for the request.
- Description string
- Description of the infrastructure.
- Discovery
Agent stringId - ID of the discovery agent to use.
- Envs
[]Infrastructure
V2Env Args - List of environment variables to set in the container.
- Image
Registries []InfrastructureV2Image Registry Args - Configuration for the container image registry.
- Infra
Scope string - Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
- Infra
Type string - Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
- Insecure
Skip boolVerify - Skip TLS verification for the infrastructure.
- Label map[string]string
- Labels to apply to the infrastructure pods.
- Mtls
Infrastructure
V2Mtls Args - 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.
- Node
Selector map[string]string - Node selector for the infrastructure pods.
- Proxy
Infrastructure
V2Proxy Args - Proxy configuration for the infrastructure.
- Run
As intGroup - Group ID to run the infrastructure as.
- Run
As intUser - User ID to run the infrastructure as.
- Service
Account string - Service account used by the infrastructure.
- []string
- Tags for the infrastructure.
- Tolerations
[]Infrastructure
V2Toleration Args - If specified, the pod's tolerations.
- Volume
Mounts []InfrastructureV2Volume Mount Args - Volume mounts for the container.
- Volumes
[]Infrastructure
V2Volume Args - Volumes to be created in the infrastructure.
- environment
Id String - The ID of the environment.
- infra
Id String - ID of the infrastructure.
- org
Id String - The ID of the organization.
- project
Id String - The ID of the project.
- ai
Enabled Boolean - Enable AI features for the infrastructure.
- annotation Map<String,String>
- Annotations to apply to the infrastructure pods.
- containers String
- Container configurations.
- correlation
Id String - Correlation ID for the request.
- description String
- Description of the infrastructure.
- discovery
Agent StringId - ID of the discovery agent to use.
- envs
List<Infrastructure
V2Env> - List of environment variables to set in the container.
- image
Registries List<InfrastructureV2Image Registry> - Configuration for the container image registry.
- infra
Scope String - Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
- infra
Type String - Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
- insecure
Skip BooleanVerify - Skip TLS verification for the infrastructure.
- label Map<String,String>
- Labels to apply to the infrastructure pods.
- mtls
Infrastructure
V2Mtls - 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.
- node
Selector Map<String,String> - Node selector for the infrastructure pods.
- proxy
Infrastructure
V2Proxy - Proxy configuration for the infrastructure.
- run
As IntegerGroup - Group ID to run the infrastructure as.
- run
As IntegerUser - User ID to run the infrastructure as.
- service
Account String - Service account used by the infrastructure.
- List<String>
- Tags for the infrastructure.
- tolerations
List<Infrastructure
V2Toleration> - If specified, the pod's tolerations.
- volume
Mounts List<InfrastructureV2Volume Mount> - Volume mounts for the container.
- volumes
List<Infrastructure
V2Volume> - Volumes to be created in the infrastructure.
- environment
Id string - The ID of the environment.
- infra
Id string - ID of the infrastructure.
- org
Id string - The ID of the organization.
- project
Id string - The ID of the project.
- ai
Enabled boolean - Enable AI features for the infrastructure.
- annotation {[key: string]: string}
- Annotations to apply to the infrastructure pods.
- containers string
- Container configurations.
- correlation
Id string - Correlation ID for the request.
- description string
- Description of the infrastructure.
- discovery
Agent stringId - ID of the discovery agent to use.
- envs
Infrastructure
V2Env[] - List of environment variables to set in the container.
- image
Registries InfrastructureV2Image Registry[] - Configuration for the container image registry.
- infra
Scope string - Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
- infra
Type string - Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
- insecure
Skip booleanVerify - Skip TLS verification for the infrastructure.
- label {[key: string]: string}
- Labels to apply to the infrastructure pods.
- mtls
Infrastructure
V2Mtls - 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.
- node
Selector {[key: string]: string} - Node selector for the infrastructure pods.
- proxy
Infrastructure
V2Proxy - Proxy configuration for the infrastructure.
- run
As numberGroup - Group ID to run the infrastructure as.
- run
As numberUser - User ID to run the infrastructure as.
- service
Account string - Service account used by the infrastructure.
- string[]
- Tags for the infrastructure.
- tolerations
Infrastructure
V2Toleration[] - If specified, the pod's tolerations.
- volume
Mounts InfrastructureV2Volume Mount[] - Volume mounts for the container.
- volumes
Infrastructure
V2Volume[] - 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_ strid - ID of the discovery agent to use.
- envs
Sequence[Infrastructure
V2Env Args] - List of environment variables to set in the container.
- image_
registries Sequence[InfrastructureV2Image Registry Args] - 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_ boolverify - Skip TLS verification for the infrastructure.
- label Mapping[str, str]
- Labels to apply to the infrastructure pods.
- mtls
Infrastructure
V2Mtls Args - 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
Infrastructure
V2Proxy Args - Proxy configuration for the infrastructure.
- run_
as_ intgroup - Group ID to run the infrastructure as.
- run_
as_ intuser - User ID to run the infrastructure as.
- service_
account str - Service account used by the infrastructure.
- Sequence[str]
- Tags for the infrastructure.
- tolerations
Sequence[Infrastructure
V2Toleration Args] - If specified, the pod's tolerations.
- volume_
mounts Sequence[InfrastructureV2Volume Mount Args] - Volume mounts for the container.
- volumes
Sequence[Infrastructure
V2Volume Args] - Volumes to be created in the infrastructure.
- environment
Id String - The ID of the environment.
- infra
Id String - ID of the infrastructure.
- org
Id String - The ID of the organization.
- project
Id String - The ID of the project.
- ai
Enabled Boolean - Enable AI features for the infrastructure.
- annotation Map<String>
- Annotations to apply to the infrastructure pods.
- containers String
- Container configurations.
- correlation
Id String - Correlation ID for the request.
- description String
- Description of the infrastructure.
- discovery
Agent StringId - ID of the discovery agent to use.
- envs List<Property Map>
- List of environment variables to set in the container.
- image
Registries List<Property Map> - Configuration for the container image registry.
- infra
Scope String - Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
- infra
Type String - Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
- insecure
Skip BooleanVerify - 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.
- node
Selector Map<String> - Node selector for the infrastructure pods.
- proxy Property Map
- Proxy configuration for the infrastructure.
- run
As NumberGroup - Group ID to run the infrastructure as.
- run
As NumberUser - User ID to run the infrastructure as.
- service
Account String - Service account used by the infrastructure.
- List<String>
- Tags for the infrastructure.
- tolerations List<Property Map>
- If specified, the pod's tolerations.
- volume
Mounts 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:
- Created
At string - Creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifiers
List<Infrastructure
V2Identifier> - Identifier for the infrastructure.
- Identity string
- Identity for the infrastructure.
- Infra
Namespace string - Namespace where the infrastructure is installed.
- Install
Command string - Installation command for the infrastructure.
- K8s
Connector stringId - Kubernetes connector identifier.
- Status string
- Status of the infrastructure.
- Updated
At string - Last update timestamp.
- Created
At string - Creation timestamp.
- Id string
- The provider-assigned unique ID for this managed resource.
- Identifiers
[]Infrastructure
V2Identifier - Identifier for the infrastructure.
- Identity string
- Identity for the infrastructure.
- Infra
Namespace string - Namespace where the infrastructure is installed.
- Install
Command string - Installation command for the infrastructure.
- K8s
Connector stringId - Kubernetes connector identifier.
- Status string
- Status of the infrastructure.
- Updated
At string - Last update timestamp.
- created
At String - Creation timestamp.
- id String
- The provider-assigned unique ID for this managed resource.
- identifiers
List<Infrastructure
V2Identifier> - Identifier for the infrastructure.
- identity String
- Identity for the infrastructure.
- infra
Namespace String - Namespace where the infrastructure is installed.
- install
Command String - Installation command for the infrastructure.
- k8s
Connector StringId - Kubernetes connector identifier.
- status String
- Status of the infrastructure.
- updated
At String - Last update timestamp.
- created
At string - Creation timestamp.
- id string
- The provider-assigned unique ID for this managed resource.
- identifiers
Infrastructure
V2Identifier[] - Identifier for the infrastructure.
- identity string
- Identity for the infrastructure.
- infra
Namespace string - Namespace where the infrastructure is installed.
- install
Command string - Installation command for the infrastructure.
- k8s
Connector stringId - Kubernetes connector identifier.
- status string
- Status of the infrastructure.
- updated
At string - Last update timestamp.
- created_
at str - Creation timestamp.
- id str
- The provider-assigned unique ID for this managed resource.
- identifiers
Sequence[Infrastructure
V2Identifier] - 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_ strid - Kubernetes connector identifier.
- status str
- Status of the infrastructure.
- updated_
at str - Last update timestamp.
- created
At 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.
- infra
Namespace String - Namespace where the infrastructure is installed.
- install
Command String - Installation command for the infrastructure.
- k8s
Connector StringId - Kubernetes connector identifier.
- status String
- Status of the infrastructure.
- updated
At 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.
- Ai
Enabled bool - Enable AI features for the infrastructure.
- Annotation Dictionary<string, string>
- Annotations to apply to the infrastructure pods.
- Containers string
- Container configurations.
- Correlation
Id string - Correlation ID for the request.
- Created
At string - Creation timestamp.
- Description string
- Description of the infrastructure.
- Discovery
Agent stringId - ID of the discovery agent to use.
- Environment
Id string - The ID of the environment.
- Envs
List<Infrastructure
V2Env> - List of environment variables to set in the container.
- Identifiers
List<Infrastructure
V2Identifier> - Identifier for the infrastructure.
- Identity string
- Identity for the infrastructure.
- Image
Registries List<InfrastructureV2Image Registry> - Configuration for the container image registry.
- Infra
Id string - ID of the infrastructure.
- Infra
Namespace string - Namespace where the infrastructure is installed.
- Infra
Scope string - Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
- Infra
Type string - Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
- Insecure
Skip boolVerify - Skip TLS verification for the infrastructure.
- Install
Command string - Installation command for the infrastructure.
- K8s
Connector stringId - Kubernetes connector identifier.
- Label Dictionary<string, string>
- Labels to apply to the infrastructure pods.
- Mtls
Infrastructure
V2Mtls - 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.
- Node
Selector Dictionary<string, string> - Node selector for the infrastructure pods.
- Org
Id string - The ID of the organization.
- Project
Id string - The ID of the project.
- Proxy
Infrastructure
V2Proxy - Proxy configuration for the infrastructure.
- Run
As intGroup - Group ID to run the infrastructure as.
- Run
As intUser - User ID to run the infrastructure as.
- Service
Account string - Service account used by the infrastructure.
- Status string
- Status of the infrastructure.
- List<string>
- Tags for the infrastructure.
- Tolerations
List<Infrastructure
V2Toleration> - If specified, the pod's tolerations.
- Updated
At string - Last update timestamp.
- Volume
Mounts List<InfrastructureV2Volume Mount> - Volume mounts for the container.
- Volumes
List<Infrastructure
V2Volume> - Volumes to be created in the infrastructure.
- Ai
Enabled bool - Enable AI features for the infrastructure.
- Annotation map[string]string
- Annotations to apply to the infrastructure pods.
- Containers string
- Container configurations.
- Correlation
Id string - Correlation ID for the request.
- Created
At string - Creation timestamp.
- Description string
- Description of the infrastructure.
- Discovery
Agent stringId - ID of the discovery agent to use.
- Environment
Id string - The ID of the environment.
- Envs
[]Infrastructure
V2Env Args - List of environment variables to set in the container.
- Identifiers
[]Infrastructure
V2Identifier Args - Identifier for the infrastructure.
- Identity string
- Identity for the infrastructure.
- Image
Registries []InfrastructureV2Image Registry Args - Configuration for the container image registry.
- Infra
Id string - ID of the infrastructure.
- Infra
Namespace string - Namespace where the infrastructure is installed.
- Infra
Scope string - Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
- Infra
Type string - Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
- Insecure
Skip boolVerify - Skip TLS verification for the infrastructure.
- Install
Command string - Installation command for the infrastructure.
- K8s
Connector stringId - Kubernetes connector identifier.
- Label map[string]string
- Labels to apply to the infrastructure pods.
- Mtls
Infrastructure
V2Mtls Args - 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.
- Node
Selector map[string]string - Node selector for the infrastructure pods.
- Org
Id string - The ID of the organization.
- Project
Id string - The ID of the project.
- Proxy
Infrastructure
V2Proxy Args - Proxy configuration for the infrastructure.
- Run
As intGroup - Group ID to run the infrastructure as.
- Run
As intUser - User ID to run the infrastructure as.
- Service
Account string - Service account used by the infrastructure.
- Status string
- Status of the infrastructure.
- []string
- Tags for the infrastructure.
- Tolerations
[]Infrastructure
V2Toleration Args - If specified, the pod's tolerations.
- Updated
At string - Last update timestamp.
- Volume
Mounts []InfrastructureV2Volume Mount Args - Volume mounts for the container.
- Volumes
[]Infrastructure
V2Volume Args - Volumes to be created in the infrastructure.
- ai
Enabled Boolean - Enable AI features for the infrastructure.
- annotation Map<String,String>
- Annotations to apply to the infrastructure pods.
- containers String
- Container configurations.
- correlation
Id String - Correlation ID for the request.
- created
At String - Creation timestamp.
- description String
- Description of the infrastructure.
- discovery
Agent StringId - ID of the discovery agent to use.
- environment
Id String - The ID of the environment.
- envs
List<Infrastructure
V2Env> - List of environment variables to set in the container.
- identifiers
List<Infrastructure
V2Identifier> - Identifier for the infrastructure.
- identity String
- Identity for the infrastructure.
- image
Registries List<InfrastructureV2Image Registry> - Configuration for the container image registry.
- infra
Id String - ID of the infrastructure.
- infra
Namespace String - Namespace where the infrastructure is installed.
- infra
Scope String - Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
- infra
Type String - Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
- insecure
Skip BooleanVerify - Skip TLS verification for the infrastructure.
- install
Command String - Installation command for the infrastructure.
- k8s
Connector StringId - Kubernetes connector identifier.
- label Map<String,String>
- Labels to apply to the infrastructure pods.
- mtls
Infrastructure
V2Mtls - 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.
- node
Selector Map<String,String> - Node selector for the infrastructure pods.
- org
Id String - The ID of the organization.
- project
Id String - The ID of the project.
- proxy
Infrastructure
V2Proxy - Proxy configuration for the infrastructure.
- run
As IntegerGroup - Group ID to run the infrastructure as.
- run
As IntegerUser - User ID to run the infrastructure as.
- service
Account String - Service account used by the infrastructure.
- status String
- Status of the infrastructure.
- List<String>
- Tags for the infrastructure.
- tolerations
List<Infrastructure
V2Toleration> - If specified, the pod's tolerations.
- updated
At String - Last update timestamp.
- volume
Mounts List<InfrastructureV2Volume Mount> - Volume mounts for the container.
- volumes
List<Infrastructure
V2Volume> - Volumes to be created in the infrastructure.
- ai
Enabled boolean - Enable AI features for the infrastructure.
- annotation {[key: string]: string}
- Annotations to apply to the infrastructure pods.
- containers string
- Container configurations.
- correlation
Id string - Correlation ID for the request.
- created
At string - Creation timestamp.
- description string
- Description of the infrastructure.
- discovery
Agent stringId - ID of the discovery agent to use.
- environment
Id string - The ID of the environment.
- envs
Infrastructure
V2Env[] - List of environment variables to set in the container.
- identifiers
Infrastructure
V2Identifier[] - Identifier for the infrastructure.
- identity string
- Identity for the infrastructure.
- image
Registries InfrastructureV2Image Registry[] - Configuration for the container image registry.
- infra
Id string - ID of the infrastructure.
- infra
Namespace string - Namespace where the infrastructure is installed.
- infra
Scope string - Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
- infra
Type string - Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
- insecure
Skip booleanVerify - Skip TLS verification for the infrastructure.
- install
Command string - Installation command for the infrastructure.
- k8s
Connector stringId - Kubernetes connector identifier.
- label {[key: string]: string}
- Labels to apply to the infrastructure pods.
- mtls
Infrastructure
V2Mtls - 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.
- node
Selector {[key: string]: string} - Node selector for the infrastructure pods.
- org
Id string - The ID of the organization.
- project
Id string - The ID of the project.
- proxy
Infrastructure
V2Proxy - Proxy configuration for the infrastructure.
- run
As numberGroup - Group ID to run the infrastructure as.
- run
As numberUser - User ID to run the infrastructure as.
- service
Account string - Service account used by the infrastructure.
- status string
- Status of the infrastructure.
- string[]
- Tags for the infrastructure.
- tolerations
Infrastructure
V2Toleration[] - If specified, the pod's tolerations.
- updated
At string - Last update timestamp.
- volume
Mounts InfrastructureV2Volume Mount[] - Volume mounts for the container.
- volumes
Infrastructure
V2Volume[] - 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_ strid - ID of the discovery agent to use.
- environment_
id str - The ID of the environment.
- envs
Sequence[Infrastructure
V2Env Args] - List of environment variables to set in the container.
- identifiers
Sequence[Infrastructure
V2Identifier Args] - Identifier for the infrastructure.
- identity str
- Identity for the infrastructure.
- image_
registries Sequence[InfrastructureV2Image Registry Args] - 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_ boolverify - Skip TLS verification for the infrastructure.
- install_
command str - Installation command for the infrastructure.
- k8s_
connector_ strid - Kubernetes connector identifier.
- label Mapping[str, str]
- Labels to apply to the infrastructure pods.
- mtls
Infrastructure
V2Mtls Args - 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
Infrastructure
V2Proxy Args - Proxy configuration for the infrastructure.
- run_
as_ intgroup - Group ID to run the infrastructure as.
- run_
as_ intuser - User ID to run the infrastructure as.
- service_
account str - Service account used by the infrastructure.
- status str
- Status of the infrastructure.
- Sequence[str]
- Tags for the infrastructure.
- tolerations
Sequence[Infrastructure
V2Toleration Args] - If specified, the pod's tolerations.
- updated_
at str - Last update timestamp.
- volume_
mounts Sequence[InfrastructureV2Volume Mount Args] - Volume mounts for the container.
- volumes
Sequence[Infrastructure
V2Volume Args] - Volumes to be created in the infrastructure.
- ai
Enabled Boolean - Enable AI features for the infrastructure.
- annotation Map<String>
- Annotations to apply to the infrastructure pods.
- containers String
- Container configurations.
- correlation
Id String - Correlation ID for the request.
- created
At String - Creation timestamp.
- description String
- Description of the infrastructure.
- discovery
Agent StringId - ID of the discovery agent to use.
- environment
Id 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.
- image
Registries List<Property Map> - Configuration for the container image registry.
- infra
Id String - ID of the infrastructure.
- infra
Namespace String - Namespace where the infrastructure is installed.
- infra
Scope String - Scope of the infrastructure. Valid values: NAMESPACE, CLUSTER
- infra
Type String - Type of the infrastructure. Valid values: KUBERNETES, KUBERNETESV2
- insecure
Skip BooleanVerify - Skip TLS verification for the infrastructure.
- install
Command String - Installation command for the infrastructure.
- k8s
Connector StringId - 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.
- node
Selector Map<String> - Node selector for the infrastructure pods.
- org
Id String - The ID of the organization.
- project
Id String - The ID of the project.
- proxy Property Map
- Proxy configuration for the infrastructure.
- run
As NumberGroup - Group ID to run the infrastructure as.
- run
As NumberUser - User ID to run the infrastructure as.
- service
Account String - Service account used by the infrastructure.
- status String
- Status of the infrastructure.
- List<String>
- Tags for the infrastructure.
- tolerations List<Property Map>
- If specified, the pod's tolerations.
- updated
At String - Last update timestamp.
- volume
Mounts 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 "".
- Value
From 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 "".
- Value
From 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 "".
- value
From 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 "".
- value
From 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 "".
- value
From String - Source for the environment variable's value. Cannot be used if value is not empty.
InfrastructureV2Identifier, InfrastructureV2IdentifierArgs
- Account
Identifier string - Account identifier.
- Org
Identifier string - Organization identifier.
- Project
Identifier string - Project identifier.
- Account
Identifier string - Account identifier.
- Org
Identifier string - Organization identifier.
- Project
Identifier string - Project identifier.
- account
Identifier String - Account identifier.
- org
Identifier String - Organization identifier.
- project
Identifier String - Project identifier.
- account
Identifier string - Account identifier.
- org
Identifier string - Organization identifier.
- project
Identifier string - Project identifier.
- account_
identifier str - Account identifier.
- org_
identifier str - Organization identifier.
- project_
identifier str - Project identifier.
- account
Identifier String - Account identifier.
- org
Identifier String - Organization identifier.
- project
Identifier String - Project identifier.
InfrastructureV2ImageRegistry, InfrastructureV2ImageRegistryArgs
- Created
At string - Timestamp when the registry was created.
- Custom
Images List<InfrastructureV2Image Registry Custom Image> - Custom image configurations. Required when usecustomimages is true.
- Identifiers
List<Infrastructure
V2Image Registry Identifier> - Scoped identifiers for the registry.
- Infra
Id string - ID of the infrastructure.
- Is
Default bool - Whether this is the default registry.
- Is
Override boolAllowed - Whether override is allowed for this registry.
- Is
Private bool - Whether the registry is private.
- Registry
Account string - The account name for the container registry.
- Registry
Server string - The container image registry server URL (e.g., docker.io, gcr.io).
- Secret
Name string - Name of the Kubernetes secret containing registry credentials.
- Updated
At string - Timestamp when the registry was last updated.
- Use
Custom boolImages - Whether to use custom images instead of default ones.
- Created
At string - Timestamp when the registry was created.
- Custom
Images []InfrastructureV2Image Registry Custom Image - Custom image configurations. Required when usecustomimages is true.
- Identifiers
[]Infrastructure
V2Image Registry Identifier - Scoped identifiers for the registry.
- Infra
Id string - ID of the infrastructure.
- Is
Default bool - Whether this is the default registry.
- Is
Override boolAllowed - Whether override is allowed for this registry.
- Is
Private bool - Whether the registry is private.
- Registry
Account string - The account name for the container registry.
- Registry
Server string - The container image registry server URL (e.g., docker.io, gcr.io).
- Secret
Name string - Name of the Kubernetes secret containing registry credentials.
- Updated
At string - Timestamp when the registry was last updated.
- Use
Custom boolImages - Whether to use custom images instead of default ones.
- created
At String - Timestamp when the registry was created.
- custom
Images List<InfrastructureV2Image Registry Custom Image> - Custom image configurations. Required when usecustomimages is true.
- identifiers
List<Infrastructure
V2Image Registry Identifier> - Scoped identifiers for the registry.
- infra
Id String - ID of the infrastructure.
- is
Default Boolean - Whether this is the default registry.
- is
Override BooleanAllowed - Whether override is allowed for this registry.
- is
Private Boolean - Whether the registry is private.
- registry
Account String - The account name for the container registry.
- registry
Server String - The container image registry server URL (e.g., docker.io, gcr.io).
- secret
Name String - Name of the Kubernetes secret containing registry credentials.
- updated
At String - Timestamp when the registry was last updated.
- use
Custom BooleanImages - Whether to use custom images instead of default ones.
- created
At string - Timestamp when the registry was created.
- custom
Images InfrastructureV2Image Registry Custom Image[] - Custom image configurations. Required when usecustomimages is true.
- identifiers
Infrastructure
V2Image Registry Identifier[] - Scoped identifiers for the registry.
- infra
Id string - ID of the infrastructure.
- is
Default boolean - Whether this is the default registry.
- is
Override booleanAllowed - Whether override is allowed for this registry.
- is
Private boolean - Whether the registry is private.
- registry
Account string - The account name for the container registry.
- registry
Server string - The container image registry server URL (e.g., docker.io, gcr.io).
- secret
Name string - Name of the Kubernetes secret containing registry credentials.
- updated
At string - Timestamp when the registry was last updated.
- use
Custom booleanImages - Whether to use custom images instead of default ones.
- created_
at str - Timestamp when the registry was created.
- custom_
images Sequence[InfrastructureV2Image Registry Custom Image] - Custom image configurations. Required when usecustomimages is true.
- identifiers
Sequence[Infrastructure
V2Image Registry Identifier] - Scoped identifiers for the registry.
- infra_
id str - ID of the infrastructure.
- is_
default bool - Whether this is the default registry.
- is_
override_ boolallowed - 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_ boolimages - Whether to use custom images instead of default ones.
- created
At String - Timestamp when the registry was created.
- custom
Images List<Property Map> - Custom image configurations. Required when usecustomimages is true.
- identifiers List<Property Map>
- Scoped identifiers for the registry.
- infra
Id String - ID of the infrastructure.
- is
Default Boolean - Whether this is the default registry.
- is
Override BooleanAllowed - Whether override is allowed for this registry.
- is
Private Boolean - Whether the registry is private.
- registry
Account String - The account name for the container registry.
- registry
Server String - The container image registry server URL (e.g., docker.io, gcr.io).
- secret
Name String - Name of the Kubernetes secret containing registry credentials.
- updated
At String - Timestamp when the registry was last updated.
- use
Custom BooleanImages - Whether to use custom images instead of default ones.
InfrastructureV2ImageRegistryCustomImage, InfrastructureV2ImageRegistryCustomImageArgs
- Ddcr string
- Custom image for ddcr.
- Ddcr
Fault string - Custom image for ddcr-fault.
- Ddcr
Lib string - Custom image for ddcr-lib.
- Log
Watcher string - Custom image for log-watcher.
- Ddcr string
- Custom image for ddcr.
- Ddcr
Fault string - Custom image for ddcr-fault.
- Ddcr
Lib string - Custom image for ddcr-lib.
- Log
Watcher string - Custom image for log-watcher.
- ddcr String
- Custom image for ddcr.
- ddcr
Fault String - Custom image for ddcr-fault.
- ddcr
Lib String - Custom image for ddcr-lib.
- log
Watcher String - Custom image for log-watcher.
- ddcr string
- Custom image for ddcr.
- ddcr
Fault string - Custom image for ddcr-fault.
- ddcr
Lib string - Custom image for ddcr-lib.
- log
Watcher 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.
- ddcr
Fault String - Custom image for ddcr-fault.
- ddcr
Lib String - Custom image for ddcr-lib.
- log
Watcher String - Custom image for log-watcher.
InfrastructureV2ImageRegistryIdentifier, InfrastructureV2ImageRegistryIdentifierArgs
- Account
Identifier string - Harness account identifier.
- Org
Identifier string - Harness organization identifier.
- Project
Identifier string - Harness project identifier.
- Account
Identifier string - Harness account identifier.
- Org
Identifier string - Harness organization identifier.
- Project
Identifier string - Harness project identifier.
- account
Identifier String - Harness account identifier.
- org
Identifier String - Harness organization identifier.
- project
Identifier String - Harness project identifier.
- account
Identifier string - Harness account identifier.
- org
Identifier string - Harness organization identifier.
- project
Identifier string - Harness project identifier.
- account_
identifier str - Harness account identifier.
- org_
identifier str - Harness organization identifier.
- project_
identifier str - Harness project identifier.
- account
Identifier String - Harness account identifier.
- org
Identifier String - Harness organization identifier.
- project
Identifier String - Harness project identifier.
InfrastructureV2Mtls, InfrastructureV2MtlsArgs
- Cert
Path string - Path to the certificate file for mTLS
- Key
Path string - Path to the private key file for mTLS
- Secret
Name string - Name of the Kubernetes secret containing mTLS certificates
- Url string
- URL for the mTLS endpoint
- Cert
Path string - Path to the certificate file for mTLS
- Key
Path string - Path to the private key file for mTLS
- Secret
Name string - Name of the Kubernetes secret containing mTLS certificates
- Url string
- URL for the mTLS endpoint
- cert
Path String - Path to the certificate file for mTLS
- key
Path String - Path to the private key file for mTLS
- secret
Name String - Name of the Kubernetes secret containing mTLS certificates
- url String
- URL for the mTLS endpoint
- cert
Path string - Path to the certificate file for mTLS
- key
Path string - Path to the private key file for mTLS
- secret
Name 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
- cert
Path String - Path to the certificate file for mTLS
- key
Path String - Path to the private key file for mTLS
- secret
Name String - Name of the Kubernetes secret containing mTLS certificates
- url String
- URL for the mTLS endpoint
InfrastructureV2Proxy, InfrastructureV2ProxyArgs
- Url string
- Proxy URL.
- Http
Proxy string - HTTP proxy URL.
- Https
Proxy string - HTTPS proxy URL.
- No
Proxy string - List of hosts that should not use proxy.
- Url string
- Proxy URL.
- Http
Proxy string - HTTP proxy URL.
- Https
Proxy string - HTTPS proxy URL.
- No
Proxy string - List of hosts that should not use proxy.
- url String
- Proxy URL.
- http
Proxy String - HTTP proxy URL.
- https
Proxy String - HTTPS proxy URL.
- no
Proxy String - List of hosts that should not use proxy.
- url string
- Proxy URL.
- http
Proxy string - HTTP proxy URL.
- https
Proxy string - HTTPS proxy URL.
- no
Proxy 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.
- http
Proxy String - HTTP proxy URL.
- https
Proxy String - HTTPS proxy URL.
- no
Proxy 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.
- 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 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.
- 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 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.
- toleration
Seconds 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.
- toleration
Seconds 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.
- toleration
Seconds 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 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'
InfrastructureV2VolumeMount, InfrastructureV2VolumeMountArgs
- Mount
Path 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.
- Mount
Propagation string - 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 string - Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
- Sub
Path stringExpr - 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 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.
- Mount
Propagation string - 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 string - Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
- Sub
Path stringExpr - 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 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.
- mount
Propagation String - Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
- read
Only Boolean - Mounted read-only if true, read-write otherwise.
- sub
Path String - Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
- sub
Path StringExpr - 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 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.
- mount
Propagation string - Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
- read
Only boolean - Mounted read-only if true, read-write otherwise.
- sub
Path string - Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
- sub
Path stringExpr - 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_ strexpr - 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 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.
- mount
Propagation String - Determines how mounts are propagated from the host to container and the other way around. When not set, MountPropagationNone is used.
- read
Only Boolean - Mounted read-only if true, read-write otherwise.
- sub
Path String - Path within the volume from which the container's volume should be mounted. Mutually exclusive with subpathexpr.
- sub
Path StringExpr - 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.