Skip to content
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

connect: connection refused - https://registry.terraform.io/.well-known/terraform.json #122

Open
noordeen03 opened this issue May 27, 2022 · 1 comment

Comments

@noordeen03
Copy link

noordeen03 commented May 27, 2022

Hi,
We are trying run terraform init with python_terraform library as follows ,
return_code, stdout, stderr = tf.init(capture_output=True, reconfigure=True)

In local, it is getting executed successfully.
But in cloud run, we are getting the following error,

Failed to query available provider packages\n\nCould not retrieve the list of available versions for provider\nhashicorp/google: could not connect to registry.terraform.io: Failed to\nrequest discovery document: Get\n"https://registry.terraform.io/.well-known/terraform.json": connect: connection timeout\n\n'

Can anyone help us understand the cause for this failure

@Kunalkatdare
Copy link

I'm running into the same issue. Any luck with it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants