"Unexpected end of JSON input" error locking s3 backend #32690
Labels
backend/s3
bug
new
new issue not yet triaged
v1.3
Issues (primarily bugs) reported against v1.3 releases
Terraform Version
Terraform Configuration Files
Debug Output
https://gist.github.com/petur/b66b6c7fce877ddb1bf3cc7629101de0
Expected Behavior
When terraform is run with
-lock-timeout
, it should either acquire the lock, or retry until the timeout expires.Actual Behavior
Terraform fails with the error:
Steps to Reproduce
terraform init
while TF_LOG=trace terraform plan -lock-timeout=60s; do : ; done
in both folders (needs two shells).(This is an artificial way to reproduce the issue. It was found in CI where multiple people push changes and plans get run in parallel.)
Additional Context
No response
References
No response
The text was updated successfully, but these errors were encountered: