Skip to content

🔒For looking terraform/terragrunt locked state then unlock.🗝️

License

Notifications You must be signed in to change notification settings

naviat/terraform-lock-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Terraform/Terragrunt Lock Checker

This is a CLI tool to list and manage Terraform/Terragrunt locks in AWS DynamoDB and Azure Blob Storage.

Installation

You can install the tool using go get:

go get github.com/naviat/terraform-lock-checker

Usage

  1. Set the appropriate environment variables for your cloud provider:

For AWS:

export AWS_REGION=your-aws-region

For Azure:

export AZURE_STORAGE_ACCOUNT=your-storage-account
export AZURE_STORAGE_KEY=your-storage-key
  1. Then, run the CLI tool:

terraform-lock-checker

The tool will auto-detect the environment and prompt you to unlock any detected lock items.

  1. Install the Tool:

Others can now install your tool using go get.

go get github.com/naviat/terraform-lock-checker

About

🔒For looking terraform/terragrunt locked state then unlock.🗝️

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages