HXSecurity / TerraformGoat

TerraformGoat is HXSecurity research lab's "Vulnerable by Design" multi cloud deployment tool.
Apache License 2.0
520 stars 83 forks source link

terraform timeout #98

Closed nu0l closed 2 years ago

nu0l commented 2 years ago

root@29d0dabbd376:/TerraformGoat/aliyun/oss/unrestricted_file_upload# terraform init

Initializing the backend...

Initializing provider plugins...

╷ │ Error: Failed to query available provider packages │ │ Could not retrieve the list of available versions for provider hashicorp/random: could not query provider registry for registry.terraform.io/hashicorp/random: the request │ failed after 2 attempts, please try again later: Get "https://registry.terraform.io/v1/providers/hashicorp/random/versions": net/http: request canceled while waiting for │ connection (Client.Timeout exceeded while awaiting headers)

teamssix commented 2 years ago

看看容器有没有网,如果有网的话,可以看看能不能连通外网,如果不能连通外网的话,可以挂上代理再试试