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 retrieving a Harness Chaos Fault Template. Supports lookup by identity (recommended) or name.
Using getFaultTemplate
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 getFaultTemplate(args: GetFaultTemplateArgs, opts?: InvokeOptions): Promise<GetFaultTemplateResult>
function getFaultTemplateOutput(args: GetFaultTemplateOutputArgs, opts?: InvokeOptions): Output<GetFaultTemplateResult>def get_fault_template(hub_identity: Optional[str] = None,
identity: Optional[str] = None,
name: Optional[str] = None,
org_id: Optional[str] = None,
project_id: Optional[str] = None,
revision: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetFaultTemplateResult
def get_fault_template_output(hub_identity: Optional[pulumi.Input[str]] = None,
identity: 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,
revision: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetFaultTemplateResult]func LookupFaultTemplate(ctx *Context, args *LookupFaultTemplateArgs, opts ...InvokeOption) (*LookupFaultTemplateResult, error)
func LookupFaultTemplateOutput(ctx *Context, args *LookupFaultTemplateOutputArgs, opts ...InvokeOption) LookupFaultTemplateResultOutput> Note: This function is named LookupFaultTemplate in the Go SDK.
public static class GetFaultTemplate
{
public static Task<GetFaultTemplateResult> InvokeAsync(GetFaultTemplateArgs args, InvokeOptions? opts = null)
public static Output<GetFaultTemplateResult> Invoke(GetFaultTemplateInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetFaultTemplateResult> getFaultTemplate(GetFaultTemplateArgs args, InvokeOptions options)
public static Output<GetFaultTemplateResult> getFaultTemplate(GetFaultTemplateArgs args, InvokeOptions options)
fn::invoke:
function: harness:chaos/getFaultTemplate:getFaultTemplate
arguments:
# arguments dictionaryThe following arguments are supported:
- Hub
Identity string - Identity of the chaos hub
- Identity string
- Unique identifier of the fault template (recommended)
- Name string
- Name of the fault template (may have timing issues with newly created templates)
- Org
Id string - Organization identifier
- Project
Id string - Project identifier
- Revision string
- Template revision to query (defaults to v1 if not specified)
- Hub
Identity string - Identity of the chaos hub
- Identity string
- Unique identifier of the fault template (recommended)
- Name string
- Name of the fault template (may have timing issues with newly created templates)
- Org
Id string - Organization identifier
- Project
Id string - Project identifier
- Revision string
- Template revision to query (defaults to v1 if not specified)
- hub
Identity String - Identity of the chaos hub
- identity String
- Unique identifier of the fault template (recommended)
- name String
- Name of the fault template (may have timing issues with newly created templates)
- org
Id String - Organization identifier
- project
Id String - Project identifier
- revision String
- Template revision to query (defaults to v1 if not specified)
- hub
Identity string - Identity of the chaos hub
- identity string
- Unique identifier of the fault template (recommended)
- name string
- Name of the fault template (may have timing issues with newly created templates)
- org
Id string - Organization identifier
- project
Id string - Project identifier
- revision string
- Template revision to query (defaults to v1 if not specified)
- hub_
identity str - Identity of the chaos hub
- identity str
- Unique identifier of the fault template (recommended)
- name str
- Name of the fault template (may have timing issues with newly created templates)
- org_
id str - Organization identifier
- project_
id str - Project identifier
- revision str
- Template revision to query (defaults to v1 if not specified)
- hub
Identity String - Identity of the chaos hub
- identity String
- Unique identifier of the fault template (recommended)
- name String
- Name of the fault template (may have timing issues with newly created templates)
- org
Id String - Organization identifier
- project
Id String - Project identifier
- revision String
- Template revision to query (defaults to v1 if not specified)
getFaultTemplate Result
The following output properties are available:
- Account
Id string - Account identifier
- Categories List<string>
- Fault categories
- Created
At int - Creation timestamp
- Created
By string - Creator user ID
- Description string
- Description of the fault template
- Fault
Name string - Name of the fault
- Hub
Identity string - Identity of the chaos hub
- Hub
Ref string - Hub reference
- Id string
- The provider-assigned unique ID for this managed resource.
- Infrastructure
Type string - Infrastructure type
- Infrastructures List<string>
- List of supported infrastructures
- Is
Default bool - Whether this is a default template
- Is
Enterprise bool - Whether this is an enterprise-only template
- Is
Removed bool - Soft delete flag
- Permissions
Required string - Required permissions for the fault
- Revision string
- Template revision to query (defaults to v1 if not specified)
- List<string>
- Tags associated with the fault template
- Type string
- Fault type
- Updated
At int - Update timestamp
- Updated
By string - Updater user ID
- Variables
List<Get
Fault Template Variable> - Template variables
- Identity string
- Unique identifier of the fault template (recommended)
- Name string
- Name of the fault template (may have timing issues with newly created templates)
- Org
Id string - Organization identifier
- Project
Id string - Project identifier
- Account
Id string - Account identifier
- Categories []string
- Fault categories
- Created
At int - Creation timestamp
- Created
By string - Creator user ID
- Description string
- Description of the fault template
- Fault
Name string - Name of the fault
- Hub
Identity string - Identity of the chaos hub
- Hub
Ref string - Hub reference
- Id string
- The provider-assigned unique ID for this managed resource.
- Infrastructure
Type string - Infrastructure type
- Infrastructures []string
- List of supported infrastructures
- Is
Default bool - Whether this is a default template
- Is
Enterprise bool - Whether this is an enterprise-only template
- Is
Removed bool - Soft delete flag
- Permissions
Required string - Required permissions for the fault
- Revision string
- Template revision to query (defaults to v1 if not specified)
- []string
- Tags associated with the fault template
- Type string
- Fault type
- Updated
At int - Update timestamp
- Updated
By string - Updater user ID
- Variables
[]Get
Fault Template Variable - Template variables
- Identity string
- Unique identifier of the fault template (recommended)
- Name string
- Name of the fault template (may have timing issues with newly created templates)
- Org
Id string - Organization identifier
- Project
Id string - Project identifier
- account
Id String - Account identifier
- categories List<String>
- Fault categories
- created
At Integer - Creation timestamp
- created
By String - Creator user ID
- description String
- Description of the fault template
- fault
Name String - Name of the fault
- hub
Identity String - Identity of the chaos hub
- hub
Ref String - Hub reference
- id String
- The provider-assigned unique ID for this managed resource.
- infrastructure
Type String - Infrastructure type
- infrastructures List<String>
- List of supported infrastructures
- is
Default Boolean - Whether this is a default template
- is
Enterprise Boolean - Whether this is an enterprise-only template
- is
Removed Boolean - Soft delete flag
- permissions
Required String - Required permissions for the fault
- revision String
- Template revision to query (defaults to v1 if not specified)
- List<String>
- Tags associated with the fault template
- type String
- Fault type
- updated
At Integer - Update timestamp
- updated
By String - Updater user ID
- variables
List<Get
Fault Template Variable> - Template variables
- identity String
- Unique identifier of the fault template (recommended)
- name String
- Name of the fault template (may have timing issues with newly created templates)
- org
Id String - Organization identifier
- project
Id String - Project identifier
- account
Id string - Account identifier
- categories string[]
- Fault categories
- created
At number - Creation timestamp
- created
By string - Creator user ID
- description string
- Description of the fault template
- fault
Name string - Name of the fault
- hub
Identity string - Identity of the chaos hub
- hub
Ref string - Hub reference
- id string
- The provider-assigned unique ID for this managed resource.
- infrastructure
Type string - Infrastructure type
- infrastructures string[]
- List of supported infrastructures
- is
Default boolean - Whether this is a default template
- is
Enterprise boolean - Whether this is an enterprise-only template
- is
Removed boolean - Soft delete flag
- permissions
Required string - Required permissions for the fault
- revision string
- Template revision to query (defaults to v1 if not specified)
- string[]
- Tags associated with the fault template
- type string
- Fault type
- updated
At number - Update timestamp
- updated
By string - Updater user ID
- variables
Get
Fault Template Variable[] - Template variables
- identity string
- Unique identifier of the fault template (recommended)
- name string
- Name of the fault template (may have timing issues with newly created templates)
- org
Id string - Organization identifier
- project
Id string - Project identifier
- account_
id str - Account identifier
- categories Sequence[str]
- Fault categories
- created_
at int - Creation timestamp
- created_
by str - Creator user ID
- description str
- Description of the fault template
- fault_
name str - Name of the fault
- hub_
identity str - Identity of the chaos hub
- hub_
ref str - Hub reference
- id str
- The provider-assigned unique ID for this managed resource.
- infrastructure_
type str - Infrastructure type
- infrastructures Sequence[str]
- List of supported infrastructures
- is_
default bool - Whether this is a default template
- is_
enterprise bool - Whether this is an enterprise-only template
- is_
removed bool - Soft delete flag
- permissions_
required str - Required permissions for the fault
- revision str
- Template revision to query (defaults to v1 if not specified)
- Sequence[str]
- Tags associated with the fault template
- type str
- Fault type
- updated_
at int - Update timestamp
- updated_
by str - Updater user ID
- variables
Sequence[Get
Fault Template Variable] - Template variables
- identity str
- Unique identifier of the fault template (recommended)
- name str
- Name of the fault template (may have timing issues with newly created templates)
- org_
id str - Organization identifier
- project_
id str - Project identifier
- account
Id String - Account identifier
- categories List<String>
- Fault categories
- created
At Number - Creation timestamp
- created
By String - Creator user ID
- description String
- Description of the fault template
- fault
Name String - Name of the fault
- hub
Identity String - Identity of the chaos hub
- hub
Ref String - Hub reference
- id String
- The provider-assigned unique ID for this managed resource.
- infrastructure
Type String - Infrastructure type
- infrastructures List<String>
- List of supported infrastructures
- is
Default Boolean - Whether this is a default template
- is
Enterprise Boolean - Whether this is an enterprise-only template
- is
Removed Boolean - Soft delete flag
- permissions
Required String - Required permissions for the fault
- revision String
- Template revision to query (defaults to v1 if not specified)
- List<String>
- Tags associated with the fault template
- type String
- Fault type
- updated
At Number - Update timestamp
- updated
By String - Updater user ID
- variables List<Property Map>
- Template variables
- identity String
- Unique identifier of the fault template (recommended)
- name String
- Name of the fault template (may have timing issues with newly created templates)
- org
Id String - Organization identifier
- project
Id String - Project identifier
Supporting Types
GetFaultTemplateVariable
- Description string
- Variable description
- Name string
- Variable name
- Required bool
- Whether the variable is required
- Type string
- Variable type
- Value string
- Variable value
- Description string
- Variable description
- Name string
- Variable name
- Required bool
- Whether the variable is required
- Type string
- Variable type
- Value string
- Variable value
- description String
- Variable description
- name String
- Variable name
- required Boolean
- Whether the variable is required
- type String
- Variable type
- value String
- Variable value
- description string
- Variable description
- name string
- Variable name
- required boolean
- Whether the variable is required
- type string
- Variable type
- value string
- Variable value
- description str
- Variable description
- name str
- Variable name
- required bool
- Whether the variable is required
- type str
- Variable type
- value str
- Variable value
- description String
- Variable description
- name String
- Variable name
- required Boolean
- Whether the variable is required
- type String
- Variable type
- value String
- Variable value
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
