TerraformCommandError
Hierarchy
- TerraformError
- TerraformCommandError
Index
Constructors
Properties
Constructors
constructor
Parameters
message: string
The error message.
args: string[]
The arguments the command was invoked with.
exitCode: number
The command's exit code.
stdout: string
The command's standard output, kept only for a command asked for JSON.
stderr: string
The last 64 KB the command wrote to standard error.
Returns TerraformCommandError
Properties
readonlyargs
The arguments the command ran with.
readonlyexitCode
The command's exit code.
readonlystderr
What the command wrote to stderr.
readonlystdout
What the command wrote to stdout.
Thrown when a terraform or terragrunt command exits non-zero. Carries the command's arguments, exit code, the stdout of a command asked for JSON, and the end of its stderr.
Errors/Terraform
When a terraform or terragrunt command exits non-zero.