Skip to content

Fix Error Exit Codes#231

Merged
yarden-fishler-dev merged 3 commits intomasterfrom
eng-799-terratag-cli-returns-zero-exit-code-on-errors
Dec 11, 2025
Merged

Fix Error Exit Codes#231
yarden-fishler-dev merged 3 commits intomasterfrom
eng-799-terratag-cli-returns-zero-exit-code-on-errors

Conversation

@yarden-fishler-dev
Copy link
Copy Markdown
Contributor

Changed the exit codes to be 1 or 2 depending on the problem in case of an error, added tests for it and fixed some typos in the README.md

…of an error, added tests for it and fixed some typos in the README.md
Copy link
Copy Markdown

@yarivg yarivg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good

Add nil check in getResourceSchema to handle cases where terraform
providers schema command fails (e.g., incompatible provider versions).

Also add provider version constraints to git_issue_56 test fixture
to ensure compatibility with Terraform 0.13.
Pin kubernetes=2.1.0 and google=3.65.0 for TF 0.12/0.13 compatibility.
@yarden-fishler-dev yarden-fishler-dev changed the title [ENG-799] Fix: Fix Error Exit Codes Fix Error Exit Codes Dec 10, 2025
@yarden-fishler-dev yarden-fishler-dev merged commit 3e7037d into master Dec 11, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants