Following through the W4 Lab for the Batch pipeline, I’m getting the following message when attempting to run the terraform plan
“Error: Inconsistent dependency lock file”
Any ideas what i’ve done wrong?
Following through the W4 Lab for the Batch pipeline, I’m getting the following message when attempting to run the terraform plan
“Error: Inconsistent dependency lock file”
Any ideas what i’ve done wrong?
Hi @Bill_Matthews did you run before terraform init
?
Yes and it seemed to complete without error
Ok. Let me check and see what’s going on. It seems that many users are having similar issues.
Hello @Bill_Matthews
Did you run terraform init
in the same directory, namely ~/environment/terraform
? Can you try running terraform init -upgrade
before terraform plan
?
I was running terraform init in the correct directory.
I reran the lab today and didn’t encounter the same issues so have completed the lab