Skip to content

Instantly share code, notes, and snippets.

@dedunumax
Created February 26, 2020 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dedunumax/19cbb46ed1bca17f9d9c49bf5dd44b4a to your computer and use it in GitHub Desktop.
Save dedunumax/19cbb46ed1bca17f9d9c49bf5dd44b4a to your computer and use it in GitHub Desktop.
Acquiring state lock. This may take a few moments...
Error: Error locking state: Error acquiring the state lock: ConditionalCheckFailedException: The conditional request failed
status code: 400, request id: L2CH7KK3QCAEHSC1TJ1VLBMNBRVV4CQNSO5AEMVJY66Q9ASUAAJN
Lock Info:
ID: 21e2b2bb-c123-2383-eece-7a5eaab4f645
Path: s3/path/to/the/state/file
Operation: OperationTypePlan
Who: username@hostname
Version: 0.11.14
Created: 2020-02-11 11:26:58.602608 +0000 UTC
Info:
Terraform acquires a state lock to protect the state from being written
by multiple users at the same time. Please resolve the issue above and try
again. For most commands, you can disable locking with the "-lock=false"
flag, but this is not recommended.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment