Skip to content

Instantly share code, notes, and snippets.

@Zman94
Created August 18, 2022 16:20
Show Gist options
  • Save Zman94/b98f82570f500415df5f03768d9f7dff to your computer and use it in GitHub Desktop.
Save Zman94/b98f82570f500415df5f03768d9f7dff to your computer and use it in GitHub Desktop.
parallel-lock-bug
Stack 1
--------------------
...
│ The given value is not suitable for module.laFunctions.var.functions
│ declared at
│ <module>
la-function-stack <More Logs ...>
Stack 2
---------------------
networking-stack
... <more initialization logs>
Terraform has been successfully initialized!
... <more initialization logs>
Error
----------------------
❯ cd cdktf.out/stacks/networking-stack
❯ tf plan
│ Error: Error acquiring the state lock
│ Error message: state blob is already locked
│ Lock Info:
│ ID: <lock id>
│ Path: <path>
│ Operation: OperationTypePlan
│ Who: zach@Zachs-MacBook-Pro.local
│ Version: 1.2.2
│ Created: 2022-08-18 16:12:43.194344 +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