hashicorp / hashicorp/setup-terraform

Terraform state doesn't unlock if you cancel workflow running a terraform plan

Open
#441 3 comments 20 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.