Unable To Resolve Provider AWS with Terraform Version 0.13.4
I couldn’t get past this for a while when I accidentally stumbled across a fix.
I believe the fix was merged, however this problem still existed in
0.13.4 so I stuck with it.
When investigating the cause, I found this PR which intended this to be the installer behaviour for the implicit global cache, in order to match 0.12. Any providers found in the global cache directory are only installed from the cache, and the registry is not queried.
Note that this behaviour can be overridden using provider_installation configuration.
That is, you can specify configuration like this
I used the code snippet here:
Wasn’t sure if it was interpreted with shell, so I didn’t use the relative path
~/.terraform.d/plugins, though that might work as well.
terraform init worked.