@pagopa/dx-cli
Version:
A CLI useful to manage DX tools.
28 lines (27 loc) • 925 B
TypeScript
/**
* A pre-configured instance of the `execa` library for running Terraform commands.
*
* This instance is customized with specific environment variables and shell settings
* to ensure compatibility with Terraform automation workflows.
*
* Environment Variables:
* - `NO_COLOR`: Disables colored output to make logs cleaner and easier to parse.
* - `TF_IN_AUTOMATION`: Indicates that Terraform is running in an automated environment.
* - `TF_INPUT`: Disables interactive prompts, ensuring non-interactive execution.
*
* Configuration:
* - `shell: true`: Enables the use of the system shell for command execution.
*
* Usage:
* @example
* await tf$`terraform init`;
* await tf$`terraform apply -auto-approve`;
*/
export declare const tf$: import("execa").ExecaScriptMethod<{
environment: {
NO_COLOR: string;
TF_IN_AUTOMATION: string;
TF_INPUT: string;
};
shell: true;
}>;