Skip to content

Terraform init error #158

Description

@subras72

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions