Viewing docs for Harness v0.12.0
published on Tuesday, Apr 21, 2026 by Pulumi
published on Tuesday, Apr 21, 2026 by Pulumi
Viewing docs for Harness v0.12.0
published on Tuesday, Apr 21, 2026 by Pulumi
published on Tuesday, Apr 21, 2026 by Pulumi
Data source for reading Harness Chaos Action Templates.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as harness from "@pulumi/harness";
const byIdentity = harness.chaos.getActionTemplate({
orgId: "my_org",
projectId: "my_project",
hubIdentity: "my-chaos-hub",
identity: "delay-action-template",
});
export const templateId = byIdentity.then(byIdentity => byIdentity.id);
import pulumi
import pulumi_harness as harness
by_identity = harness.chaos.get_action_template(org_id="my_org",
project_id="my_project",
hub_identity="my-chaos-hub",
identity="delay-action-template")
pulumi.export("templateId", by_identity.id)
package main
import (
"github.com/pulumi/pulumi-harness/sdk/go/harness/chaos"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
byIdentity, err := chaos.LookupActionTemplate(ctx, &chaos.LookupActionTemplateArgs{
OrgId: pulumi.StringRef("my_org"),
ProjectId: pulumi.StringRef("my_project"),
HubIdentity: "my-chaos-hub",
Identity: pulumi.StringRef("delay-action-template"),
}, nil)
if err != nil {
return err
}
ctx.Export("templateId", byIdentity.Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Harness = Pulumi.Harness;
return await Deployment.RunAsync(() =>
{
var byIdentity = Harness.Chaos.GetActionTemplate.Invoke(new()
{
OrgId = "my_org",
ProjectId = "my_project",
HubIdentity = "my-chaos-hub",
Identity = "delay-action-template",
});
return new Dictionary<string, object?>
{
["templateId"] = byIdentity.Apply(getActionTemplateResult => getActionTemplateResult.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.harness.chaos.ChaosFunctions;
import com.pulumi.harness.chaos.inputs.GetActionTemplateArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var byIdentity = ChaosFunctions.getActionTemplate(GetActionTemplateArgs.builder()
.orgId("my_org")
.projectId("my_project")
.hubIdentity("my-chaos-hub")
.identity("delay-action-template")
.build());
ctx.export("templateId", byIdentity.id());
}
}
variables:
byIdentity:
fn::invoke:
function: harness:chaos:getActionTemplate
arguments:
orgId: my_org
projectId: my_project
hubIdentity: my-chaos-hub
identity: delay-action-template
outputs:
templateId: ${byIdentity.id}
Using getActionTemplate
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getActionTemplate(args: GetActionTemplateArgs, opts?: InvokeOptions): Promise<GetActionTemplateResult>
function getActionTemplateOutput(args: GetActionTemplateOutputArgs, opts?: InvokeOptions): Output<GetActionTemplateResult>def get_action_template(container_action: Optional[GetActionTemplateContainerAction] = None,
custom_script_action: Optional[GetActionTemplateCustomScriptAction] = None,
delay_action: Optional[GetActionTemplateDelayAction] = None,
description: Optional[str] = None,
hub_identity: Optional[str] = None,
identity: Optional[str] = None,
infrastructure_type: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
run_properties: Optional[GetActionTemplateRunProperties] = None,
tags: Optional[Sequence[str]] = None,
type: Optional[str] = None,
variables: Optional[Sequence[GetActionTemplateVariable]] = None,
opts: Optional[InvokeOptions] = None) -> GetActionTemplateResult
def get_action_template_output(container_action: Optional[pulumi.Input[GetActionTemplateContainerActionArgs]] = None,
custom_script_action: Optional[pulumi.Input[GetActionTemplateCustomScriptActionArgs]] = None,
delay_action: Optional[pulumi.Input[GetActionTemplateDelayActionArgs]] = None,
description: Optional[pulumi.Input[str]] = None,
hub_identity: Optional[pulumi.Input[str]] = None,
identity: Optional[pulumi.Input[str]] = None,
infrastructure_type: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
org_id: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
run_properties: Optional[pulumi.Input[GetActionTemplateRunPropertiesArgs]] = None,
tags: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
type: Optional[pulumi.Input[str]] = None,
variables: Optional[pulumi.Input[Sequence[pulumi.Input[GetActionTemplateVariableArgs]]]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetActionTemplateResult]func LookupActionTemplate(ctx *Context, args *LookupActionTemplateArgs, opts ...InvokeOption) (*LookupActionTemplateResult, error)
func LookupActionTemplateOutput(ctx *Context, args *LookupActionTemplateOutputArgs, opts ...InvokeOption) LookupActionTemplateResultOutput> Note: This function is named LookupActionTemplate in the Go SDK.
public static class GetActionTemplate
{
public static Task<GetActionTemplateResult> InvokeAsync(GetActionTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetActionTemplateResult> Invoke(GetActionTemplateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetActionTemplateResult> getActionTemplate(GetActionTemplateArgs args, InvokeOptions options)
public static Output<GetActionTemplateResult> getActionTemplate(GetActionTemplateArgs args, InvokeOptions options)
fn::invoke:
function: harness:chaos/getActionTemplate:getActionTemplate
arguments:
# arguments dictionaryThe following arguments are supported:
- Hub
Identity string - Identity of the chaos hub this action template belongs to.
- Container
Action GetAction Template Container Action - Container action configuration. Required when type is 'container'.
- Custom
Script GetAction Action Template Custom Script Action - Custom script action configuration. Required when type is 'customScript'.
- Delay
Action GetAction Template Delay Action - Delay action configuration. Required when type is 'delay'.
- Description string
- Description of the action template.
- Identity string
- Unique identifier for the action template (immutable).
- Infrastructure
Type string - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- Name string
- Name of the action template.
- Org
Id string - Organization identifier.
- Project
Id string - Project identifier.
- Run
Properties GetAction Template Run Properties - Run properties for the action template execution.
- List<string>
- Tags to associate with the action template.
- Type string
- Type of the action template. Valid values: delay, customScript, container.
- Variables
List<Get
Action Template Variable> - Template variables that can be used in the action.
- Hub
Identity string - Identity of the chaos hub this action template belongs to.
- Container
Action GetAction Template Container Action - Container action configuration. Required when type is 'container'.
- Custom
Script GetAction Action Template Custom Script Action - Custom script action configuration. Required when type is 'customScript'.
- Delay
Action GetAction Template Delay Action - Delay action configuration. Required when type is 'delay'.
- Description string
- Description of the action template.
- Identity string
- Unique identifier for the action template (immutable).
- Infrastructure
Type string - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- Name string
- Name of the action template.
- Org
Id string - Organization identifier.
- Project
Id string - Project identifier.
- Run
Properties GetAction Template Run Properties - Run properties for the action template execution.
- []string
- Tags to associate with the action template.
- Type string
- Type of the action template. Valid values: delay, customScript, container.
- Variables
[]Get
Action Template Variable - Template variables that can be used in the action.
- hub
Identity String - Identity of the chaos hub this action template belongs to.
- container
Action GetAction Template Container Action - Container action configuration. Required when type is 'container'.
- custom
Script GetAction Action Template Custom Script Action - Custom script action configuration. Required when type is 'customScript'.
- delay
Action GetAction Template Delay Action - Delay action configuration. Required when type is 'delay'.
- description String
- Description of the action template.
- identity String
- Unique identifier for the action template (immutable).
- infrastructure
Type String - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- name String
- Name of the action template.
- org
Id String - Organization identifier.
- project
Id String - Project identifier.
- run
Properties GetAction Template Run Properties - Run properties for the action template execution.
- List<String>
- Tags to associate with the action template.
- type String
- Type of the action template. Valid values: delay, customScript, container.
- variables
List<Get
Action Template Variable> - Template variables that can be used in the action.
- hub
Identity string - Identity of the chaos hub this action template belongs to.
- container
Action GetAction Template Container Action - Container action configuration. Required when type is 'container'.
- custom
Script GetAction Action Template Custom Script Action - Custom script action configuration. Required when type is 'customScript'.
- delay
Action GetAction Template Delay Action - Delay action configuration. Required when type is 'delay'.
- description string
- Description of the action template.
- identity string
- Unique identifier for the action template (immutable).
- infrastructure
Type string - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- name string
- Name of the action template.
- org
Id string - Organization identifier.
- project
Id string - Project identifier.
- run
Properties GetAction Template Run Properties - Run properties for the action template execution.
- string[]
- Tags to associate with the action template.
- type string
- Type of the action template. Valid values: delay, customScript, container.
- variables
Get
Action Template Variable[] - Template variables that can be used in the action.
- hub_
identity str - Identity of the chaos hub this action template belongs to.
- container_
action GetAction Template Container Action - Container action configuration. Required when type is 'container'.
- custom_
script_ Getaction Action Template Custom Script Action - Custom script action configuration. Required when type is 'customScript'.
- delay_
action GetAction Template Delay Action - Delay action configuration. Required when type is 'delay'.
- description str
- Description of the action template.
- identity str
- Unique identifier for the action template (immutable).
- infrastructure_
type str - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- name str
- Name of the action template.
- org_
id str - Organization identifier.
- project_
id str - Project identifier.
- run_
properties GetAction Template Run Properties - Run properties for the action template execution.
- Sequence[str]
- Tags to associate with the action template.
- type str
- Type of the action template. Valid values: delay, customScript, container.
- variables
Sequence[Get
Action Template Variable] - Template variables that can be used in the action.
- hub
Identity String - Identity of the chaos hub this action template belongs to.
- container
Action Property Map - Container action configuration. Required when type is 'container'.
- custom
Script Property MapAction - Custom script action configuration. Required when type is 'customScript'.
- delay
Action Property Map - Delay action configuration. Required when type is 'delay'.
- description String
- Description of the action template.
- identity String
- Unique identifier for the action template (immutable).
- infrastructure
Type String - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- name String
- Name of the action template.
- org
Id String - Organization identifier.
- project
Id String - Project identifier.
- run
Properties Property Map - Run properties for the action template execution.
- List<String>
- Tags to associate with the action template.
- type String
- Type of the action template. Valid values: delay, customScript, container.
- variables List<Property Map>
- Template variables that can be used in the action.
getActionTemplate Result
The following output properties are available:
- Account
Id string - Account identifier.
- Created
At int - Creation timestamp (Unix epoch).
- Created
By string - User who created the action template.
- Hub
Identity string - Identity of the chaos hub this action template belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Id
Internal string - Internal ID of the action template.
- Identity string
- Unique identifier for the action template (immutable).
- Is
Default bool - Whether this is the default version for predefined actions.
- Is
Enterprise bool - Whether this is an enterprise action template.
- Is
Removed bool - Whether the action template has been removed.
- Name string
- Name of the action template.
- Revision int
- Revision number of the action template.
- Template string
- Template content/definition.
- Type string
- Type of the action template. Valid values: delay, customScript, container.
- Updated
At int - Last update timestamp (Unix epoch).
- Updated
By string - User who last updated the action template.
- Container
Action GetAction Template Container Action - Container action configuration. Required when type is 'container'.
- Custom
Script GetAction Action Template Custom Script Action - Custom script action configuration. Required when type is 'customScript'.
- Delay
Action GetAction Template Delay Action - Delay action configuration. Required when type is 'delay'.
- Description string
- Description of the action template.
- Infrastructure
Type string - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- Org
Id string - Organization identifier.
- Project
Id string - Project identifier.
- Run
Properties GetAction Template Run Properties - Run properties for the action template execution.
- List<string>
- Tags to associate with the action template.
- Variables
List<Get
Action Template Variable> - Template variables that can be used in the action.
- Account
Id string - Account identifier.
- Created
At int - Creation timestamp (Unix epoch).
- Created
By string - User who created the action template.
- Hub
Identity string - Identity of the chaos hub this action template belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Id
Internal string - Internal ID of the action template.
- Identity string
- Unique identifier for the action template (immutable).
- Is
Default bool - Whether this is the default version for predefined actions.
- Is
Enterprise bool - Whether this is an enterprise action template.
- Is
Removed bool - Whether the action template has been removed.
- Name string
- Name of the action template.
- Revision int
- Revision number of the action template.
- Template string
- Template content/definition.
- Type string
- Type of the action template. Valid values: delay, customScript, container.
- Updated
At int - Last update timestamp (Unix epoch).
- Updated
By string - User who last updated the action template.
- Container
Action GetAction Template Container Action - Container action configuration. Required when type is 'container'.
- Custom
Script GetAction Action Template Custom Script Action - Custom script action configuration. Required when type is 'customScript'.
- Delay
Action GetAction Template Delay Action - Delay action configuration. Required when type is 'delay'.
- Description string
- Description of the action template.
- Infrastructure
Type string - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- Org
Id string - Organization identifier.
- Project
Id string - Project identifier.
- Run
Properties GetAction Template Run Properties - Run properties for the action template execution.
- []string
- Tags to associate with the action template.
- Variables
[]Get
Action Template Variable - Template variables that can be used in the action.
- account
Id String - Account identifier.
- created
At Integer - Creation timestamp (Unix epoch).
- created
By String - User who created the action template.
- hub
Identity String - Identity of the chaos hub this action template belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- id
Internal String - Internal ID of the action template.
- identity String
- Unique identifier for the action template (immutable).
- is
Default Boolean - Whether this is the default version for predefined actions.
- is
Enterprise Boolean - Whether this is an enterprise action template.
- is
Removed Boolean - Whether the action template has been removed.
- name String
- Name of the action template.
- revision Integer
- Revision number of the action template.
- template String
- Template content/definition.
- type String
- Type of the action template. Valid values: delay, customScript, container.
- updated
At Integer - Last update timestamp (Unix epoch).
- updated
By String - User who last updated the action template.
- container
Action GetAction Template Container Action - Container action configuration. Required when type is 'container'.
- custom
Script GetAction Action Template Custom Script Action - Custom script action configuration. Required when type is 'customScript'.
- delay
Action GetAction Template Delay Action - Delay action configuration. Required when type is 'delay'.
- description String
- Description of the action template.
- infrastructure
Type String - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- org
Id String - Organization identifier.
- project
Id String - Project identifier.
- run
Properties GetAction Template Run Properties - Run properties for the action template execution.
- List<String>
- Tags to associate with the action template.
- variables
List<Get
Action Template Variable> - Template variables that can be used in the action.
- account
Id string - Account identifier.
- created
At number - Creation timestamp (Unix epoch).
- created
By string - User who created the action template.
- hub
Identity string - Identity of the chaos hub this action template belongs to.
- id string
- The provider-assigned unique ID for this managed resource.
- id
Internal string - Internal ID of the action template.
- identity string
- Unique identifier for the action template (immutable).
- is
Default boolean - Whether this is the default version for predefined actions.
- is
Enterprise boolean - Whether this is an enterprise action template.
- is
Removed boolean - Whether the action template has been removed.
- name string
- Name of the action template.
- revision number
- Revision number of the action template.
- template string
- Template content/definition.
- type string
- Type of the action template. Valid values: delay, customScript, container.
- updated
At number - Last update timestamp (Unix epoch).
- updated
By string - User who last updated the action template.
- container
Action GetAction Template Container Action - Container action configuration. Required when type is 'container'.
- custom
Script GetAction Action Template Custom Script Action - Custom script action configuration. Required when type is 'customScript'.
- delay
Action GetAction Template Delay Action - Delay action configuration. Required when type is 'delay'.
- description string
- Description of the action template.
- infrastructure
Type string - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- org
Id string - Organization identifier.
- project
Id string - Project identifier.
- run
Properties GetAction Template Run Properties - Run properties for the action template execution.
- string[]
- Tags to associate with the action template.
- variables
Get
Action Template Variable[] - Template variables that can be used in the action.
- account_
id str - Account identifier.
- created_
at int - Creation timestamp (Unix epoch).
- created_
by str - User who created the action template.
- hub_
identity str - Identity of the chaos hub this action template belongs to.
- id str
- The provider-assigned unique ID for this managed resource.
- id_
internal str - Internal ID of the action template.
- identity str
- Unique identifier for the action template (immutable).
- is_
default bool - Whether this is the default version for predefined actions.
- is_
enterprise bool - Whether this is an enterprise action template.
- is_
removed bool - Whether the action template has been removed.
- name str
- Name of the action template.
- revision int
- Revision number of the action template.
- template str
- Template content/definition.
- type str
- Type of the action template. Valid values: delay, customScript, container.
- updated_
at int - Last update timestamp (Unix epoch).
- updated_
by str - User who last updated the action template.
- container_
action GetAction Template Container Action - Container action configuration. Required when type is 'container'.
- custom_
script_ Getaction Action Template Custom Script Action - Custom script action configuration. Required when type is 'customScript'.
- delay_
action GetAction Template Delay Action - Delay action configuration. Required when type is 'delay'.
- description str
- Description of the action template.
- infrastructure_
type str - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- org_
id str - Organization identifier.
- project_
id str - Project identifier.
- run_
properties GetAction Template Run Properties - Run properties for the action template execution.
- Sequence[str]
- Tags to associate with the action template.
- variables
Sequence[Get
Action Template Variable] - Template variables that can be used in the action.
- account
Id String - Account identifier.
- created
At Number - Creation timestamp (Unix epoch).
- created
By String - User who created the action template.
- hub
Identity String - Identity of the chaos hub this action template belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- id
Internal String - Internal ID of the action template.
- identity String
- Unique identifier for the action template (immutable).
- is
Default Boolean - Whether this is the default version for predefined actions.
- is
Enterprise Boolean - Whether this is an enterprise action template.
- is
Removed Boolean - Whether the action template has been removed.
- name String
- Name of the action template.
- revision Number
- Revision number of the action template.
- template String
- Template content/definition.
- type String
- Type of the action template. Valid values: delay, customScript, container.
- updated
At Number - Last update timestamp (Unix epoch).
- updated
By String - User who last updated the action template.
- container
Action Property Map - Container action configuration. Required when type is 'container'.
- custom
Script Property MapAction - Custom script action configuration. Required when type is 'customScript'.
- delay
Action Property Map - Delay action configuration. Required when type is 'delay'.
- description String
- Description of the action template.
- infrastructure
Type String - Infrastructure type for the action template. Valid values: Kubernetes, KubernetesV2, Windows, Linux, CloudFoundry, Container. Supports runtime inputs like <+input>.
- org
Id String - Organization identifier.
- project
Id String - Project identifier.
- run
Properties Property Map - Run properties for the action template execution.
- List<String>
- Tags to associate with the action template.
- variables List<Property Map>
- Template variables that can be used in the action.
Supporting Types
GetActionTemplateContainerAction
- Image string
- Container image to use (e.g., 'busybox:latest').
- Annotations Dictionary<string, string>
- Annotations to apply to the container pod.
- Args string
- Arguments to pass to the container command.
- Commands List<string>
- Command to run in the container.
- Envs
List<Get
Action Template Container Action Env> - Environment variables for the container.
- Host
Ipc bool - Use host IPC namespace.
- Host
Network bool - Use host network namespace.
- Host
Pid bool - Use host PID namespace.
- Image
Pull stringPolicy - Image pull policy (Always, IfNotPresent, Never). Supports runtime inputs like <+input>.allowedValues(...).
- Image
Pull List<string>Secrets - List of image pull secrets for private registries.
- Labels Dictionary<string, string>
- Labels to apply to the container pod.
- Namespace string
- Kubernetes namespace for the container.
- Node
Selector Dictionary<string, string> - Node selector for pod scheduling.
- Resources
Get
Action Template Container Action Resources - Resource requirements for the container.
- Service
Account stringName - Kubernetes service account name.
- Tolerations
List<Get
Action Template Container Action Toleration> - Tolerations for pod scheduling on tainted nodes.
- Volume
Mounts List<GetAction Template Container Action Volume Mount> - Volume mounts for the container.
- Volumes
List<Get
Action Template Container Action Volume> - Volumes to attach to the pod.
- Image string
- Container image to use (e.g., 'busybox:latest').
- Annotations map[string]string
- Annotations to apply to the container pod.
- Args string
- Arguments to pass to the container command.
- Commands []string
- Command to run in the container.
- Envs
[]Get
Action Template Container Action Env - Environment variables for the container.
- Host
Ipc bool - Use host IPC namespace.
- Host
Network bool - Use host network namespace.
- Host
Pid bool - Use host PID namespace.
- Image
Pull stringPolicy - Image pull policy (Always, IfNotPresent, Never). Supports runtime inputs like <+input>.allowedValues(...).
- Image
Pull []stringSecrets - List of image pull secrets for private registries.
- Labels map[string]string
- Labels to apply to the container pod.
- Namespace string
- Kubernetes namespace for the container.
- Node
Selector map[string]string - Node selector for pod scheduling.
- Resources
Get
Action Template Container Action Resources - Resource requirements for the container.
- Service
Account stringName - Kubernetes service account name.
- Tolerations
[]Get
Action Template Container Action Toleration - Tolerations for pod scheduling on tainted nodes.
- Volume
Mounts []GetAction Template Container Action Volume Mount - Volume mounts for the container.
- Volumes
[]Get
Action Template Container Action Volume - Volumes to attach to the pod.
- image String
- Container image to use (e.g., 'busybox:latest').
- annotations Map<String,String>
- Annotations to apply to the container pod.
- args String
- Arguments to pass to the container command.
- commands List<String>
- Command to run in the container.
- envs
List<Get
Action Template Container Action Env> - Environment variables for the container.
- host
Ipc Boolean - Use host IPC namespace.
- host
Network Boolean - Use host network namespace.
- host
Pid Boolean - Use host PID namespace.
- image
Pull StringPolicy - Image pull policy (Always, IfNotPresent, Never). Supports runtime inputs like <+input>.allowedValues(...).
- image
Pull List<String>Secrets - List of image pull secrets for private registries.
- labels Map<String,String>
- Labels to apply to the container pod.
- namespace String
- Kubernetes namespace for the container.
- node
Selector Map<String,String> - Node selector for pod scheduling.
- resources
Get
Action Template Container Action Resources - Resource requirements for the container.
- service
Account StringName - Kubernetes service account name.
- tolerations
List<Get
Action Template Container Action Toleration> - Tolerations for pod scheduling on tainted nodes.
- volume
Mounts List<GetAction Template Container Action Volume Mount> - Volume mounts for the container.
- volumes
List<Get
Action Template Container Action Volume> - Volumes to attach to the pod.
- image string
- Container image to use (e.g., 'busybox:latest').
- annotations {[key: string]: string}
- Annotations to apply to the container pod.
- args string
- Arguments to pass to the container command.
- commands string[]
- Command to run in the container.
- envs
Get
Action Template Container Action Env[] - Environment variables for the container.
- host
Ipc boolean - Use host IPC namespace.
- host
Network boolean - Use host network namespace.
- host
Pid boolean - Use host PID namespace.
- image
Pull stringPolicy - Image pull policy (Always, IfNotPresent, Never). Supports runtime inputs like <+input>.allowedValues(...).
- image
Pull string[]Secrets - List of image pull secrets for private registries.
- labels {[key: string]: string}
- Labels to apply to the container pod.
- namespace string
- Kubernetes namespace for the container.
- node
Selector {[key: string]: string} - Node selector for pod scheduling.
- resources
Get
Action Template Container Action Resources - Resource requirements for the container.
- service
Account stringName - Kubernetes service account name.
- tolerations
Get
Action Template Container Action Toleration[] - Tolerations for pod scheduling on tainted nodes.
- volume
Mounts GetAction Template Container Action Volume Mount[] - Volume mounts for the container.
- volumes
Get
Action Template Container Action Volume[] - Volumes to attach to the pod.
- image str
- Container image to use (e.g., 'busybox:latest').
- annotations Mapping[str, str]
- Annotations to apply to the container pod.
- args str
- Arguments to pass to the container command.
- commands Sequence[str]
- Command to run in the container.
- envs
Sequence[Get
Action Template Container Action Env] - Environment variables for the container.
- host_
ipc bool - Use host IPC namespace.
- host_
network bool - Use host network namespace.
- host_
pid bool - Use host PID namespace.
- image_
pull_ strpolicy - Image pull policy (Always, IfNotPresent, Never). Supports runtime inputs like <+input>.allowedValues(...).
- image_
pull_ Sequence[str]secrets - List of image pull secrets for private registries.
- labels Mapping[str, str]
- Labels to apply to the container pod.
- namespace str
- Kubernetes namespace for the container.
- node_
selector Mapping[str, str] - Node selector for pod scheduling.
- resources
Get
Action Template Container Action Resources - Resource requirements for the container.
- service_
account_ strname - Kubernetes service account name.
- tolerations
Sequence[Get
Action Template Container Action Toleration] - Tolerations for pod scheduling on tainted nodes.
- volume_
mounts Sequence[GetAction Template Container Action Volume Mount] - Volume mounts for the container.
- volumes
Sequence[Get
Action Template Container Action Volume] - Volumes to attach to the pod.
- image String
- Container image to use (e.g., 'busybox:latest').
- annotations Map<String>
- Annotations to apply to the container pod.
- args String
- Arguments to pass to the container command.
- commands List<String>
- Command to run in the container.
- envs List<Property Map>
- Environment variables for the container.
- host
Ipc Boolean - Use host IPC namespace.
- host
Network Boolean - Use host network namespace.
- host
Pid Boolean - Use host PID namespace.
- image
Pull StringPolicy - Image pull policy (Always, IfNotPresent, Never). Supports runtime inputs like <+input>.allowedValues(...).
- image
Pull List<String>Secrets - List of image pull secrets for private registries.
- labels Map<String>
- Labels to apply to the container pod.
- namespace String
- Kubernetes namespace for the container.
- node
Selector Map<String> - Node selector for pod scheduling.
- resources Property Map
- Resource requirements for the container.
- service
Account StringName - Kubernetes service account name.
- tolerations List<Property Map>
- Tolerations for pod scheduling on tainted nodes.
- volume
Mounts List<Property Map> - Volume mounts for the container.
- volumes List<Property Map>
- Volumes to attach to the pod.
GetActionTemplateContainerActionEnv
GetActionTemplateContainerActionResources
GetActionTemplateContainerActionToleration
- Effect string
- Taint effect (NoSchedule, PreferNoSchedule, NoExecute).
- Key string
- Taint key to tolerate.
- Operator string
- Operator (Exists, Equal).
- Toleration
Seconds int - Toleration seconds for NoExecute effect.
- Value string
- Taint value to tolerate.
- Effect string
- Taint effect (NoSchedule, PreferNoSchedule, NoExecute).
- Key string
- Taint key to tolerate.
- Operator string
- Operator (Exists, Equal).
- Toleration
Seconds int - Toleration seconds for NoExecute effect.
- Value string
- Taint value to tolerate.
- effect String
- Taint effect (NoSchedule, PreferNoSchedule, NoExecute).
- key String
- Taint key to tolerate.
- operator String
- Operator (Exists, Equal).
- toleration
Seconds Integer - Toleration seconds for NoExecute effect.
- value String
- Taint value to tolerate.
- effect string
- Taint effect (NoSchedule, PreferNoSchedule, NoExecute).
- key string
- Taint key to tolerate.
- operator string
- Operator (Exists, Equal).
- toleration
Seconds number - Toleration seconds for NoExecute effect.
- value string
- Taint value to tolerate.
- effect str
- Taint effect (NoSchedule, PreferNoSchedule, NoExecute).
- key str
- Taint key to tolerate.
- operator str
- Operator (Exists, Equal).
- toleration_
seconds int - Toleration seconds for NoExecute effect.
- value str
- Taint value to tolerate.
- effect String
- Taint effect (NoSchedule, PreferNoSchedule, NoExecute).
- key String
- Taint key to tolerate.
- operator String
- Operator (Exists, Equal).
- toleration
Seconds Number - Toleration seconds for NoExecute effect.
- value String
- Taint value to tolerate.
GetActionTemplateContainerActionVolume
- Name string
- Volume name.
- Config
Map GetAction Template Container Action Volume Config Map - ConfigMap volume configuration.
- Empty
Dir GetAction Template Container Action Volume Empty Dir - EmptyDir volume configuration.
- Host
Path GetAction Template Container Action Volume Host Path - HostPath volume configuration.
- Persistent
Volume GetClaim Action Template Container Action Volume Persistent Volume Claim - PersistentVolumeClaim configuration.
- Secret
Get
Action Template Container Action Volume Secret - Secret volume configuration.
- Name string
- Volume name.
- Config
Map GetAction Template Container Action Volume Config Map - ConfigMap volume configuration.
- Empty
Dir GetAction Template Container Action Volume Empty Dir - EmptyDir volume configuration.
- Host
Path GetAction Template Container Action Volume Host Path - HostPath volume configuration.
- Persistent
Volume GetClaim Action Template Container Action Volume Persistent Volume Claim - PersistentVolumeClaim configuration.
- Secret
Get
Action Template Container Action Volume Secret - Secret volume configuration.
- name String
- Volume name.
- config
Map GetAction Template Container Action Volume Config Map - ConfigMap volume configuration.
- empty
Dir GetAction Template Container Action Volume Empty Dir - EmptyDir volume configuration.
- host
Path GetAction Template Container Action Volume Host Path - HostPath volume configuration.
- persistent
Volume GetClaim Action Template Container Action Volume Persistent Volume Claim - PersistentVolumeClaim configuration.
- secret
Get
Action Template Container Action Volume Secret - Secret volume configuration.
- name string
- Volume name.
- config
Map GetAction Template Container Action Volume Config Map - ConfigMap volume configuration.
- empty
Dir GetAction Template Container Action Volume Empty Dir - EmptyDir volume configuration.
- host
Path GetAction Template Container Action Volume Host Path - HostPath volume configuration.
- persistent
Volume GetClaim Action Template Container Action Volume Persistent Volume Claim - PersistentVolumeClaim configuration.
- secret
Get
Action Template Container Action Volume Secret - Secret volume configuration.
- name str
- Volume name.
- config_
map GetAction Template Container Action Volume Config Map - ConfigMap volume configuration.
- empty_
dir GetAction Template Container Action Volume Empty Dir - EmptyDir volume configuration.
- host_
path GetAction Template Container Action Volume Host Path - HostPath volume configuration.
- persistent_
volume_ Getclaim Action Template Container Action Volume Persistent Volume Claim - PersistentVolumeClaim configuration.
- secret
Get
Action Template Container Action Volume Secret - Secret volume configuration.
- name String
- Volume name.
- config
Map Property Map - ConfigMap volume configuration.
- empty
Dir Property Map - EmptyDir volume configuration.
- host
Path Property Map - HostPath volume configuration.
- persistent
Volume Property MapClaim - PersistentVolumeClaim configuration.
- secret Property Map
- Secret volume configuration.
GetActionTemplateContainerActionVolumeConfigMap
GetActionTemplateContainerActionVolumeEmptyDir
- medium str
- Storage medium (empty string for default, Memory for tmpfs).
- size_
limit str - Size limit (e.g., '1Gi').
GetActionTemplateContainerActionVolumeHostPath
GetActionTemplateContainerActionVolumeMount
- mount_
path str - Path to mount the volume in the container.
- name str
- Volume name to mount.
- read_
only bool - Mount as read-only.
- sub_
path str - Sub-path within the volume.
GetActionTemplateContainerActionVolumePersistentVolumeClaim
- claim_
name str - PVC name.
- read_
only bool - Mount as read-only.
GetActionTemplateContainerActionVolumeSecret
- Secret
Name string - Secret name.
- Optional bool
- Whether the Secret is optional.
- Secret
Name string - Secret name.
- Optional bool
- Whether the Secret is optional.
- secret
Name String - Secret name.
- optional Boolean
- Whether the Secret is optional.
- secret
Name string - Secret name.
- optional boolean
- Whether the Secret is optional.
- secret_
name str - Secret name.
- optional bool
- Whether the Secret is optional.
- secret
Name String - Secret name.
- optional Boolean
- Whether the Secret is optional.
GetActionTemplateCustomScriptAction
- Command string
- Command to execute (e.g., 'bash', 'python', 'sh').
- Args List<string>
- Arguments to pass to the command.
- Envs
List<Get
Action Template Custom Script Action Env> - Environment variables for the script.
- Command string
- Command to execute (e.g., 'bash', 'python', 'sh').
- Args []string
- Arguments to pass to the command.
- Envs
[]Get
Action Template Custom Script Action Env - Environment variables for the script.
- command String
- Command to execute (e.g., 'bash', 'python', 'sh').
- args List<String>
- Arguments to pass to the command.
- envs
List<Get
Action Template Custom Script Action Env> - Environment variables for the script.
- command string
- Command to execute (e.g., 'bash', 'python', 'sh').
- args string[]
- Arguments to pass to the command.
- envs
Get
Action Template Custom Script Action Env[] - Environment variables for the script.
- command str
- Command to execute (e.g., 'bash', 'python', 'sh').
- args Sequence[str]
- Arguments to pass to the command.
- envs
Sequence[Get
Action Template Custom Script Action Env] - Environment variables for the script.
- command String
- Command to execute (e.g., 'bash', 'python', 'sh').
- args List<String>
- Arguments to pass to the command.
- envs List<Property Map>
- Environment variables for the script.
GetActionTemplateCustomScriptActionEnv
GetActionTemplateDelayAction
- Duration string
- Duration of the delay (e.g., '30s', '5m', '1h').
- Duration string
- Duration of the delay (e.g., '30s', '5m', '1h').
- duration String
- Duration of the delay (e.g., '30s', '5m', '1h').
- duration string
- Duration of the delay (e.g., '30s', '5m', '1h').
- duration str
- Duration of the delay (e.g., '30s', '5m', '1h').
- duration String
- Duration of the delay (e.g., '30s', '5m', '1h').
GetActionTemplateRunProperties
- Initial
Delay string - Initial delay before action execution (e.g., '5s', '1m').
- Interval string
- Interval between retries (e.g., '10s', '30s').
- Max
Retries int - Maximum number of retries.
- Stop
On boolFailure - Whether to stop on failure.
- Timeout string
- Timeout for action execution (e.g., '5m', '10m').
- Verbosity string
- Verbosity level for logging.
- Initial
Delay string - Initial delay before action execution (e.g., '5s', '1m').
- Interval string
- Interval between retries (e.g., '10s', '30s').
- Max
Retries int - Maximum number of retries.
- Stop
On boolFailure - Whether to stop on failure.
- Timeout string
- Timeout for action execution (e.g., '5m', '10m').
- Verbosity string
- Verbosity level for logging.
- initial
Delay String - Initial delay before action execution (e.g., '5s', '1m').
- interval String
- Interval between retries (e.g., '10s', '30s').
- max
Retries Integer - Maximum number of retries.
- stop
On BooleanFailure - Whether to stop on failure.
- timeout String
- Timeout for action execution (e.g., '5m', '10m').
- verbosity String
- Verbosity level for logging.
- initial
Delay string - Initial delay before action execution (e.g., '5s', '1m').
- interval string
- Interval between retries (e.g., '10s', '30s').
- max
Retries number - Maximum number of retries.
- stop
On booleanFailure - Whether to stop on failure.
- timeout string
- Timeout for action execution (e.g., '5m', '10m').
- verbosity string
- Verbosity level for logging.
- initial_
delay str - Initial delay before action execution (e.g., '5s', '1m').
- interval str
- Interval between retries (e.g., '10s', '30s').
- max_
retries int - Maximum number of retries.
- stop_
on_ boolfailure - Whether to stop on failure.
- timeout str
- Timeout for action execution (e.g., '5m', '10m').
- verbosity str
- Verbosity level for logging.
- initial
Delay String - Initial delay before action execution (e.g., '5s', '1m').
- interval String
- Interval between retries (e.g., '10s', '30s').
- max
Retries Number - Maximum number of retries.
- stop
On BooleanFailure - Whether to stop on failure.
- timeout String
- Timeout for action execution (e.g., '5m', '10m').
- verbosity String
- Verbosity level for logging.
GetActionTemplateVariable
- Name string
- Variable name.
- Value string
- Variable value.
- Description string
- Variable description.
- Required bool
- Whether the variable is required.
- Type string
- Variable type (e.g., 'string', 'number', 'boolean').
- Name string
- Variable name.
- Value string
- Variable value.
- Description string
- Variable description.
- Required bool
- Whether the variable is required.
- Type string
- Variable type (e.g., 'string', 'number', 'boolean').
- name String
- Variable name.
- value String
- Variable value.
- description String
- Variable description.
- required Boolean
- Whether the variable is required.
- type String
- Variable type (e.g., 'string', 'number', 'boolean').
- name string
- Variable name.
- value string
- Variable value.
- description string
- Variable description.
- required boolean
- Whether the variable is required.
- type string
- Variable type (e.g., 'string', 'number', 'boolean').
- name str
- Variable name.
- value str
- Variable value.
- description str
- Variable description.
- required bool
- Whether the variable is required.
- type str
- Variable type (e.g., 'string', 'number', 'boolean').
- name String
- Variable name.
- value String
- Variable value.
- description String
- Variable description.
- required Boolean
- Whether the variable is required.
- type String
- Variable type (e.g., 'string', 'number', 'boolean').
Package Details
- Repository
- harness pulumi/pulumi-harness
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
harnessTerraform Provider.
Viewing docs for Harness v0.12.0
published on Tuesday, Apr 21, 2026 by Pulumi
published on Tuesday, Apr 21, 2026 by Pulumi
