Open Franr opened 3 months ago
If you run leverage terraform init, and the init command fails for some reason, it finish with no exit error.
leverage terraform init
init
It should catch and raise the error code gracefully.
Steps to reproduce the behavior:
le-tf-infra-aws/apps-devstg/global/base-identities
TERRAFORM_IMAGE_TAG=1.5.0-0.1.13
Error: Unsupported Terraform Core version
Describe the Bug
If you run
leverage terraform init
, and theinit
command fails for some reason, it finish with no exit error.Expected Behavior
It should catch and raise the error code gracefully.
Steps to Reproduce
Steps to reproduce the behavior:
le-tf-infra-aws/apps-devstg/global/base-identities
TERRAFORM_IMAGE_TAG=1.5.0-0.1.13
)leverage terraform init
Error: Unsupported Terraform Core version
but the exit code will be 0.