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

Terraform init error #158

Open
subras72 opened this issue Aug 29, 2024 · 0 comments
Open

Terraform init error #158

subras72 opened this issue Aug 29, 2024 · 0 comments

Comments

@subras72
Copy link

Hi, I'm using TFC and attempted to utilise this new module. Seeing the following error at the end of the output, appreciate if you can advise

Initializing Terraform Cloud...
Initializing modules...
Downloading registry.terraform.io/aws-ia/vpc/aws 4.4.2 for vpc...

  • vpc in .terraform/modules/vpc
  • vpc.calculate_subnets in .terraform/modules/vpc/modules/calculate_subnets
    Downloading registry.terraform.io/drewmullen/subnets/cidr 1.0.2 for vpc.calculate_subnets.subnet_calculator...
  • vpc.calculate_subnets.subnet_calculator in .terraform/modules/vpc.calculate_subnets.subnet_calculator
  • vpc.calculate_subnets_ipv6 in .terraform/modules/vpc/modules/calculate_subnets_ipv6
    Downloading registry.terraform.io/drewmullen/subnets/cidr 1.0.2 for vpc.calculate_subnets_ipv6.subnet_calculator...
  • vpc.calculate_subnets_ipv6.subnet_calculator in .terraform/modules/vpc.calculate_subnets_ipv6.subnet_calculator
  • vpc.flow_logs in .terraform/modules/vpc/modules/flow_logs
    Downloading registry.terraform.io/aws-ia/cloudwatch-log-group/aws 1.0.0 for vpc.flow_logs.cloudwatch_log_group...
  • vpc.flow_logs.cloudwatch_log_group in .terraform/modules/vpc.flow_logs.cloudwatch_log_group
  • vpc.flow_logs.s3_log_bucket in .terraform/modules/vpc/modules/flow_logs/modules/s3_log_bucket
    Downloading registry.terraform.io/aws-ia/label/aws 0.0.5 for vpc.subnet_tags...
  • vpc.subnet_tags in .terraform/modules/vpc.subnet_tags
    Downloading registry.terraform.io/aws-ia/label/aws 0.0.5 for vpc.tags...
  • vpc.tags in .terraform/modules/vpc.tags
    Downloading registry.terraform.io/aws-ia/label/aws 0.0.5 for vpc.vpc_lattice_tags...
  • vpc.vpc_lattice_tags in .terraform/modules/vpc.vpc_lattice_tags
    Downloading registry.terraform.io/terraform-aws-modules/vpc/aws 5.9.0 for vpc_example_complete...
  • vpc_example_complete in .terraform/modules/vpc_example_complete/examples/complete
  • vpc_example_complete.vpc in .terraform/modules/vpc_example_complete
  • vpc_example_complete.vpc_endpoints in .terraform/modules/vpc_example_complete/modules/vpc-endpoints
  • vpc_example_complete.vpc_endpoints_nocreate in .terraform/modules/vpc_example_complete/modules/vpc-endpoints

Initializing provider plugins...

  • Finding aws-ia/vpc/aws versions matching ">= 4.2.0"...
  • Finding hashicorp/aws versions matching ">= 3.68.0, >= 3.72.0, >= 4.0.0, >= 5.0.0, >= 5.30.0"...
  • Finding hashicorp/awscc versions matching "~> 0.9, >= 0.15.0"...
  • Installing hashicorp/aws v5.64.0...
  • Installed hashicorp/aws v5.64.0 (signed by HashiCorp)
  • Installing hashicorp/awscc v0.78.0...
  • Installed hashicorp/awscc v0.78.0 (signed by HashiCorp)

    │ Error: Failed to query available provider packages

    │ Could not retrieve the list of available versions for provider aws-ia/vpc/aws: could not connect to aws-ia: failed to request discovery document: Get
    │ "https://aws-ia/.well-known/terraform.json": dial tcp: lookup aws-ia: no such host
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

1 participant