-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
With zero public subnets, s3 vpc endpoint association fails #89
Comments
Good job, Loren! v1.28.0 has been now released with this fix. |
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. |
waddamski
pushed a commit
to hmrc/terraform-aws-vpc
that referenced
this issue
Jul 5, 2024
…erraform-aws-modules#90) * Ensures the S3 VPC Endpoint association is only created if there are public subnets Fixes terraform-aws-modules#89 * Ensures a single DDB association in the public route table
waddamski
pushed a commit
to hmrc/terraform-aws-vpc
that referenced
this issue
Jul 5, 2024
…erraform-aws-modules#90) * Ensures the S3 VPC Endpoint association is only created if there are public subnets Fixes terraform-aws-modules#89 * Ensures a single DDB association in the public route table
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When passing no public subnets, but still using an S3 VPC endpoint, the module should not try to associate the endpoint with a (non-existent) public route table.
The condition in this line needs to account for the length of
var.public_subnets
.Looks like the count for the dynamodb vpc endpoint is also flawed. A bit differently though. There is only one public route table for all public subnets, so the length check should be in the condition and the count should be 1 if true.
The text was updated successfully, but these errors were encountered: