Skip to content

Instantly share code, notes, and snippets.

@osterman
Created January 18, 2019 07:41
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save osterman/36bf0fa96a04eef9864306e98bde5df9 to your computer and use it in GitHub Desktop.
Save osterman/36bf0fa96a04eef9864306e98bde5df9 to your computer and use it in GitHub Desktop.
terraform-force-unlock.sh
terraform force-unlock -force $(terraform console < /dev/null 2>&1 |grep ID:|cut -d: -f2)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment