Skip to content

fix(engine): use resolved binary name in user-facing messages#201

Merged
patrickchugh merged 1 commit into
mainfrom
fix/engine-aware-messages
Jun 6, 2026
Merged

fix(engine): use resolved binary name in user-facing messages#201
patrickchugh merged 1 commit into
mainfrom
fix/engine-aware-messages

Conversation

@patrickchugh

Copy link
Copy Markdown
Owner

Summary

  • Follow-up to Feature/opentofu support #199 (OpenTofu --engine flag): updates ~13 hardcoded "terraform" references in user-facing status/error messages across tfwrapper.py, tgwrapper.py, and validators.py to use helpers.get_tf_binary() so OpenTofu users see the correct binary name in all output.

Test plan

  • Full test suite: 507 passed, 1 pre-existing failure (Route 53), 1 skipped — identical to main
  • Black formatting clean
  • Pre-commit hooks pass

🤖 Generated with Claude Code

Status banners and error messages in tfwrapper, tgwrapper, and
validators still hardcoded "terraform" after the --engine flag was added
in #199. Now they use helpers.get_tf_binary() so OpenTofu users see the
correct binary name in all output.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@patrickchugh patrickchugh merged commit 20835ae into main Jun 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant