Closed triThirty closed 2 years ago
/test all
Ah it looks like a PR was already created for this. Thank you for the contribution anyway @triThirty .
https://github.com/cloudposse/terraform-aws-dynamic-subnets/pull/162
Actually, on second thought, I don't see the same fix applied in the other PR.
I changed to no-release since https://github.com/cloudposse/terraform-aws-dynamic-subnets/pull/162 is most likely going to be merged soon enough. This way we can combine the two PRs in a single release.
what
To check if create public subnet when set public_subnets_enabled false
why
Currently, when set set public_subnets_enabled false, module still creates public subnet, according to the logic of creating private subnet, there should be a check if public_subnets_enabled is false, not creating public subnet.
references
Slack thread: https://sweetops.slack.com/archives/CCT1E7JJY/p1652862041154429