Closed martin-pronestor closed 2 months ago
this is most likely related to #1059 - @wiseelf / @RunCor399
I believe that the problem is solvable by adding an additional constraint on how the "count" variable for the "private_ipv6_egress" resource is determined. (For instance by verifying that number of private subnets is greater than 0)
I've submitted a PR that for me solved the problem @bryantbiggs
This issue has been resolved in version 5.7.2 :tada:
I'm going to lock this issue because it has been closed for 30 days β³. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
Description
Please provide a clear and concise description of the issue you are encountering, and a reproduction of your configuration (see the
examples/*
directory for references that you can copy+paste and tailor to match your configs if you are unable to copy your exact configuration). The reproduction MUST be executable by runningterraform init && terraform apply
without any further changes.If your request is for a new feature, please use the
Feature request
template.β οΈ Note
Before you submit an issue, please perform the following first:
.terraform
directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!):rm -rf .terraform/
terraform init
Versions
Module version [Required]: 5.7.1
Terraform version: 1.7.5
Provider version(s): provider registry.terraform.io/hashicorp/aws v5.44.0
Reproduction Code [Required]
Steps to reproduce the behavior:
Expected behavior
Expected that the example above would work as it has in previous versions.
Actual behavior
The following error is logged when using the above set up with the latest version of the module:
Additional context
The VPC in this example is used for public services only. There is no need for a private subnet, and running a NAT gateway is not necessary for this type of service.