I'm using Terraform as part of a Jenkins Pipeline. When
terraform apply encounters an error, it does not return a non-zero exit code. When running into a problem on Jenkins, it does not stop the pipeline or mark the build as FAILURE.
If terraform encounters an error, I need the job to stop and not progress.