I've run through the same issue in AWS and our pipele. We are transitioning to git-actions. Our terraform is using dynamodb as its lockstate persistence and s3 to hold the actual terraform statefile. When I looked at the lock state in the dynamodb, the md5 digest column is empty and the key did not indicate and -md5, just a normal .
What does this mean?
Note: Do not try this if you are not familiar with Terraform State File.
ble. Rename the old lockstate to a different key so that it wont be searched up.What I did is I cloned the said lockstate and renamed to -md5. Look at my s3 statefile for the hashkey and copy it over to the digest column in dynamo table. Rename the old lockstate to a different key so that it wont be searched up.
That's it for me.
That's it for me.
Again, this may not work for everybody but this worked for me.