You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TF prints "Error: Provider dependency changes detected" and suggests running "terraform init" but it's not clear how to do that. Should I do it locally and send a PR with an updated lockfile? Or should Guardian do it and generate its own commit?
Expected behavior
Get a normal plan. Alternatively, get actionable instructions on how to resolve the error.
Observed behavior
I got this error:
Error: Provider dependency changes detected
Changes to the required provider dependencies were detected, but the lock
file is read-only. To use and record these requirements, run "terraform init"
without the "-lockfile=readonly" flag.
I was able to work around this by ensuring I had the same version of Terraform locally, then running terraform init which updated the lockfile, and adding that commit to my PR.
The text was updated successfully, but these errors were encountered:
TL;DR
TF prints "Error: Provider dependency changes detected" and suggests running "terraform init" but it's not clear how to do that. Should I do it locally and send a PR with an updated lockfile? Or should Guardian do it and generate its own commit?
Expected behavior
Get a normal plan. Alternatively, get actionable instructions on how to resolve the error.
Observed behavior
I got this error:
Environment Details
Additional information
I was able to work around this by ensuring I had the same version of Terraform locally, then running
terraform init
which updated the lockfile, and adding that commit to my PR.The text was updated successfully, but these errors were encountered: