This message was deleted.
# atlantis-community
s
This message was deleted.
p
See the previous post, it is related
p
yes
o
I think the author asks if it's possible to execute terraform force-unlock via Atlantis.
d
correct
imagine a terraform PLAN is messed up and the lock is not released
i was wondering how to fix such an issue from Atlantis
p
no, that command is not implemented
if force-unlock was a parameter then yes
d
would we need to log into the atlantis server and release the id manually? or is there a way we can create a workflow to do a force-unlock
p
with a custom workflow you can run anything
script, one liner, any terraform command
o
@Deliush, if Atlantis server in any way can access the underlying backend, you can just log into it and execute the required command. I think if no one is running terraform locally, then there's a small probability you'll ever find yourself in a situation where you'll need to use force-unlock at all.
Terraform locks typically happen when the long running plan is ungracefully interrupted with a bunch of ctrl+c's.
d
Sounds good!