-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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
Fixes aws_subnet on creation improperly handling IPv6 CIDR pending association state #24685
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Welcome @moses-aronov 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
Ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccVPCSubnet_ipv6\|TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.ipv6' PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run=TestAccVPCSubnet_ipv6\|TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.ipv6 -timeout 180m
=== RUN TestAccVPCDefaultVPCAndSubnet_serial
=== RUN TestAccVPCDefaultVPCAndSubnet_serial/Subnet
=== RUN TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.ipv6
acctest.go:665: skipping tests; AWS_DEFAULT_REGION (us-west-2) not supported
--- PASS: TestAccVPCDefaultVPCAndSubnet_serial (1.00s)
--- PASS: TestAccVPCDefaultVPCAndSubnet_serial/Subnet (1.00s)
--- SKIP: TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.ipv6 (1.00s)
=== RUN TestAccVPCSubnet_ipv6
=== PAUSE TestAccVPCSubnet_ipv6
=== RUN TestAccVPCSubnet_ipv6Native
=== PAUSE TestAccVPCSubnet_ipv6Native
=== CONT TestAccVPCSubnet_ipv6
=== CONT TestAccVPCSubnet_ipv6Native
--- PASS: TestAccVPCSubnet_ipv6Native (30.59s)
--- PASS: TestAccVPCSubnet_ipv6 (76.06s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 81.039s
% AWS_DEFAULT_REGION=us-east-2 make testacc TESTARGS='-run=TestAccVPCSubnet_ipv6\|TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.ipv6' PKG=ec2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/ec2/... -v -count 1 -parallel 20 -run=TestAccVPCSubnet_ipv6\|TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.ipv6 -timeout 180m
=== RUN TestAccVPCDefaultVPCAndSubnet_serial
=== RUN TestAccVPCDefaultVPCAndSubnet_serial/Subnet
=== RUN TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.ipv6
--- PASS: TestAccVPCDefaultVPCAndSubnet_serial (50.48s)
--- PASS: TestAccVPCDefaultVPCAndSubnet_serial/Subnet (50.48s)
--- PASS: TestAccVPCDefaultVPCAndSubnet_serial/Subnet/existing.ipv6 (50.48s)
=== RUN TestAccVPCSubnet_ipv6
=== PAUSE TestAccVPCSubnet_ipv6
=== RUN TestAccVPCSubnet_ipv6Native
=== PAUSE TestAccVPCSubnet_ipv6Native
=== CONT TestAccVPCSubnet_ipv6
=== CONT TestAccVPCSubnet_ipv6Native
--- PASS: TestAccVPCSubnet_ipv6Native (23.19s)
--- PASS: TestAccVPCSubnet_ipv6 (62.41s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/ec2 116.722s
@moses-aronov Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.14.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Closes #24681
Output from acceptance testing: