ft-route53resolver-endpoint-multiple-auto-ips #44001
Open
+250
−25
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.
Changes to Security Controls
Description
Relations
Closes #43724
Output from Acceptance Testing
-I also added an acceptance test to cover this scenario, since existing tests didn’t exercise it. The test creates 3+3 auto-assigned IPs across two subnets (ip_address.# == 6) and verifies update behavior. This is split into a separate commit from the code change.
-Here is the output of the test:
make testacc PKG=route53resolver TESTS='^TestAccRoute53ResolverEndpoint_multipleIPsPerSubnet_auto$'1
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.24.6 test ./internal/service/route53resolver/... -v -count 1 -parallel 20 -run='^TestAccRoute53ResolverEndpoint_multipleIPsPerSubnet_auto' -timeout 360m -vet=off
2025/08/22 16:09:24 Creating Terraform AWS Provider (SDKv2-style)...
2025/08/22 16:09:24 Initializing Terraform AWS Provider (SDKv2-style)...
=== RUN TestAccRoute53ResolverEndpoint_multipleIPsPerSubnet_auto
=== PAUSE TestAccRoute53ResolverEndpoint_multipleIPsPerSubnet_auto
=== CONT TestAccRoute53ResolverEndpoint_multipleIPsPerSubnet_auto
--- PASS: TestAccRoute53ResolverEndpoint_multipleIPsPerSubnet_auto (322.77s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/route53resolver 322.927s
Comments