terraform-example-foundation
terraform-example-foundation copied to clipboard
Unable to see plan_validate_all error details in github actions
TL;DR
I'm unable to see details about errors from plan_validate_all in the github actions output. It requires running locally to see the actual error, and this takes extra time.
Expected behavior
The github actions output should show more details about why there were errors with the terraform plan.
Observed behavior
I just see an exit code:
Run ${GITHUB_WORKSPACE}/tf-wrapper.sh plan_validate_all "${GITHUB_REF_NAME}" "${GITHUB_WORKSPACE}/policy-library" "${PROJECT_ID}" "FILESYSTEM" "GITHUB" > ${GITHUB_WORKSPACE}/plan.out
Validating resources...
............done.
Validating resources...
.............done.
Error: Process completed with exit code 21.
Terraform Configuration
n/a
Terraform Version
n/a
Additional information
No response