Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support error wrapping for locked state errors #222

Closed
alec-rabold opened this issue Sep 26, 2021 · 1 comment
Closed

Support error wrapping for locked state errors #222

alec-rabold opened this issue Sep 26, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@alec-rabold
Copy link
Contributor

First off thank you for maintaining this project! It's such a great tool for automating TF workflows in code.

Feature

One addition that I believe would be helpful is a first-class error when there's an issue acquiring a state lock, as well as the LockInfo so that a force-unlock is possible if appropriate. The driving use-case for us is when the Terraform process unexpectedly exits early, requiring either manual intervention or a separate stderr logger to catch this.

I've created a pull request (#221) and was hoping to get some thoughts from you all.

Thanks!

@radeksimko
Copy link
Member

#221 was just merged

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants