TerraformProcessExitedEvent
Hierarchy
- TerraformEvent<{ exitCode: number; processId: number }>
- TerraformProcessExitedEvent
Index
Constructors
Properties
Constructors
constructor
Parameters
optionalname: string
The subject of the event, when the event type alone does not identify it.
optionalpayload: { exitCode: number; processId: number }
The event's data.
exitCode: number
processId: number
Returns TerraformProcessExitedEvent
Properties
readonlyinheritedheader
When the event was created. sequence counts every event this process created, so it orders
two events created in the same millisecond, and events a late listener receives replayed.
Type declaration
sequence: number
timestamp: number
readonlyinheritedname
The subject of the event, when the event type alone does not identify it - e.g. the class name on a registration event. Empty otherwise.
readonlyinheritedpayload
The event's data. Its shape is fixed by the event type.
Type declaration
exitCode: number
processId: number
This event is emitted after every terraform or terragrunt process exits, whatever its exit code.
exitCodeis -1 for a process that could not start or was killed.Events/Terraform