New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Failed to fetch latest version for builtin terraform provider #1661
Comments
Currently having the same issue, but in another scenario. We have a local provider checked out within the git repository, thus not available in a public/private registry but on a filesystem. Even when configuring the .terraformrc file to address that the provider can be found on a filesystem (using filesystem_mirror in this case), Terrascan still tries to download it through a GET operation over https. Result is multiple retries to download the provider and eventually failing because of too many failed attempts. Documentation about the .terraformrc file and the available provider installation methods can be found here: https://developer.hashicorp.com/terraform/cli/config/config-file |
Description
I am using the terraform_data resource which is available through the built-in provider with source address
terraform.io/builtin/terraform
.When terrascan runs I get this error:
The connection reset by peer is expected due to my network setup but I don't think this call should be happening anyway - the URL does not exist as
builtin/terraform
is not a "real" provider. Therefore I would expect that terrascan does not try and list versions for itWhat I Did
Terrascan ran as part of superlinter v5.7.2
The error is not fatal and the scan completes successfully but the retries with backoff are slowing down my builds.
The text was updated successfully, but these errors were encountered: