chore(deps): update terraform cloudposse/dynamic-subnets/aws to v3 #224
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.4.2->3.0.1Release Notes
cloudposse/terraform-aws-dynamic-subnets (cloudposse/dynamic-subnets/aws)
v3.0.1Compare Source
🚀 Enhancements
Fix NAT routing when max_nats limits NATs to fewer AZs @aknysh (#227)
what
max_natsis set to fewer than the number of Availability Zoneslimited-nat-gatewaysdemonstrating themax_natsfeaturemax_natsfeaturewhy
Critical Bug: When
max_nats < num_azs, Terraform failed with "Invalid index" error because route tables in AZs without NATs attempted to reference non-existent NAT Gateway indices.Example Failure:
Root Cause: The route table mapping formula calculated:
This produced indices [0, 1, 2] but only NAT[0] existed.
Fix: Added modulo operation to wrap indices to available NATs:
Now produces [0, 0, 0] - all route to the single NAT.
Test Coverage Gap: The
max_natsfeature had ZERO test coverage. None of the 6 existing examples tested this scenario. The bug was discovered by the aws-vpc component test suite, not by this module's own tests.Changes Include:
Bug Fix (
main.tf):private_route_table_to_nat_mapcalculationpublic_route_table_to_nat_mapcalculationNew Test Example (
examples/limited-nat-gateways):Test Coverage (
test/src/examples_limited_nat_gateways_test.go):TestExamplesLimitedNatGateways- Tests max_nats=1TestExamplesLimitedNatGatewaysTwoNats- Tests max_nats=2TestExamplesLimitedNatGatewaysDisabled- Tests enabled=falseDocumentation:
Cost Implications:
The
max_natsfeature enables significant cost savings in non-production environments:This bug blocked users from utilizing this cost optimization feature.
references
max_nats < num_azsfor cost optimization/docs/test-coverage-analysis.md/docs/prd/fix-max-nats-routing.mdv3.0.0Compare Source
Separate Public/Private Subnet Configuration and Enhance NAT Gateway Placement @aknysh (#226)
what
why
User Pain Points:
Business Impact:
Key Features:
Separate Public/Private Subnet Counts: New variables
public_subnets_per_az_count,public_subnets_per_az_names,private_subnets_per_az_count,private_subnets_per_az_namesallow independent control while falling back to original variables for backward compatibilityControlled NAT Placement by Index: Variable
nat_gateway_public_subnet_indices(default[0]) specifies which subnet position(s) in each AZ receive NAT Gateways, enabling cost optimizationNamed NAT Placement: Variable
nat_gateway_public_subnet_namesallows intuitive placement like["loadbalancer"]instead of remembering indicesBug Fixes: Corrected NAT Gateway global index calculation and route table mapping to ensure proper AZ distribution and same-AZ routing
Examples Included:
examples/separate-public-private-subnets/: Cost-optimized with 1 NAT per AZ (~$110/month)examples/redundant-nat-gateways/: High-availability with 2 NATs per AZ (~$140/month)Test Coverage:
references
docs/prd/separate-public-private-subnets-and-nat-placement.md🤖 Automatic Updates
Fix go version in tests @osterman (#222)
what
1.24why
References
Replace Makefile with atmos.yaml @osterman (#221)
what
Makefileatmos.yamlwhy
build-harnesswithatmosfor readme genrationReferences
Migrate new test account @osterman (#215)
what
.github/settings.yml.github/chatops.ymlfileswhy
.github/settings.ymlfrom org level to getterratestenvironmenttestaccountReferences
Update .github/settings.yml @osterman (#214)
what
.github/settings.yml.github/auto-release.ymlfileswhy
.github/settings.ymlfrom org levelreferences
Update release workflow to allow pull-requests: write @osterman (#211)
what
.github/workflows/release.yaml) to have permission to comment on PRwhy
Update GitHub Workflows to use shared workflows from '.github' repo @osterman (#210)
what
.github/workflows) to use shared workflows from.githubrepowhy
Update GitHub Workflows to Fix ReviewDog TFLint Action @osterman (#209)
what
.github/workflows) to addissue: writepermission needed by ReviewDogtflintactionwhy
Update GitHub workflows @osterman (#208)
what
.github/workflows/settings.yaml)why
Use GitHub Action Workflows from `cloudposse/.github` Repo @osterman (#202)
what
why
cldouposse/.githubrepositoryBump google.golang.org/grpc from 1.51.0 to 1.56.3 in /test/src @[dependabot[bot]](https://redirect.github.com/apps/dependabot) (#200)
Bumps [google.golang.org/grpc](https://redirect.github.com/grpc/grpc-go) from 1.51.0 to 1.56.3.Release notes
Sourced from google.golang.org/grpc's releases.
... (truncated)
Commits
1055b48Update version.go to 1.56.3 (#6713)5efd7bdserver: prohibit more than MaxConcurrentStreams handlers from running at once...bd1f038Upgrade version.go to 1.56.3-dev (#6434)faab873Update version.go to v1.56.2 (#6432)6b0b291status: fix panic when servers return a wrapped error with status OK (#6374) ...ed56401[PSM interop] Don't fail target if sub-target already failed (#6390) (#6405)cd6a794Update version.go to v1.56.2-dev (#6387)5b67e5eUpdate version.go to v1.56.1 (#6386)d0f5150client: handle empty address lists correctly in addrConn.updateAddrs (#6354) ...997c1eaChange version to 1.56.1-dev (#6345)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.
Add GitHub Settings @osterman (#196)
what
.github/settings.yaml)why
Update README.md and docs @cloudpossebot (#194)
what
This is an auto-generated PR that updates the README.md and docs
why
To have most recent changes of README.md and doc from origin templates
Update Scaffolding @osterman (#195)
what
make readmeto rebuildREADME.mdfromREADME.yamlwhy
.githubrepoConfiguration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.