Open nhhai opened 3 months ago
Not sure if this is the right place for this. On the registry: https://registry.terraform.io/modules/aws-ia/vpc/aws/latest: az_count is required and no azs variable.
az_count
azs
When using this block in VS Code with Hashicorp plugin it will show the error:
module "vpc" { source = "aws-ia/vpc/aws" version = "4.4.2" name = var.computed_id azs = var.azs vpc_ipv4_ipam_pool_id = data.aws_vpc_ipam_pool.test.id vpc_ipv4_netmask_length = 26 subnets = { private = { netmask = 28 connect_to_public_natgw = false } } }
Switch the source the source = "git@github.com:aws-ia/terraform-aws-vpc.git?ref=v4.4.2" will resolve it. I didn't check the full list, but probably the whole thing on the registry is from an older version.
source = "git@github.com:aws-ia/terraform-aws-vpc.git?ref=v4.4.2"
Actually it's an error on my part. What I was looking at on Git is the main branch, not v4.4.2. Please close this one as invalid.
Not sure if this is the right place for this. On the registry: https://registry.terraform.io/modules/aws-ia/vpc/aws/latest:
az_count
is required and noazs
variable.When using this block in VS Code with Hashicorp plugin it will show the error:
Switch the source the
source = "git@github.com:aws-ia/terraform-aws-vpc.git?ref=v4.4.2"
will resolve it. I didn't check the full list, but probably the whole thing on the registry is from an older version.