Unable To Resolve Provider AWS with Terraform Version 0.13.4
tech development microblog terraform troubleshooting
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.
I used the code snippet here: micro ~/.terraform.d/providercache.tfrc
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.
provider_installation {
filesystem_mirror {
path = "/Users/sheldonhull/.terraform.d/plugins"
}
direct {
exclude = []
}
}
After this terraform init worked.