hashicorp / hashicorp/setup-terraform
Terraform state doesn't unlock if you cancel workflow running a terraform plan
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 1.6k
- Forks
- 288
- Avg merge
- 23h 21m
- Merged PRs (30d)
- 3
Description
Exactly what it says in the title. It seems the `terraform` wrapper isn't forwarding signals properly so the lock is never unclaimed. So when you cancel a workflow the lockfile needs to be manually cleaned up.
Dozens of people in this thread trying to come up with workarounds. But I think it's a bug in this action.
https://github.com/orgs/community/discussions/26311
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.