terraform-github-actions
terraform-github-actions copied to clipboard
Terraform release lock command
Suggestion
Using automation tools to run terraform is great, but sometimes jobs get cancelled and leaves the lock in tf state.
It would be great to have an action release lock - giving the lock-id as input
Interesting idea @noam-ma-ma. Where would you get the lock-id from?
Running terraform plan/apply when lock exists prints the lock to the console:
The dflook/terraform-state-unlock action was added in v1.32.0