-
Notifications
You must be signed in to change notification settings - Fork 9.6k
feat: Add icmpv6 protocol support for aws_lightsail_instance_public_ports #37703
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
feat: Add icmpv6 protocol support for aws_lightsail_instance_public_ports #37703
Conversation
Community NoteVoting for Prioritization
For Submitters
|
8c638b5
to
127f850
Compare
127f850
to
b5b485a
Compare
…lete Fixes `_disappears` acceptance test failures caused by unhandled `NotFound` errors. These errors will now be handled gracefully and skipped rather than returned to the user. ```console % make testacc PKG=lightsail TESTS="TestAccLightsailInstancePublicPorts_disappears|TestAccLightsailInstancePublicPorts_icmp" make: Verifying source code with gofmt... ==> Checking that code complies with gofmt requirements... TF_ACC=1 go1.23.10 test ./internal/service/lightsail/... -v -count 1 -parallel 20 -run='TestAccLightsailInstancePublicPorts_disappears|TestAccLightsailInstancePublicPorts_icmp' -timeout 360m -vet=off 2025/06/16 15:02:01 Initializing Terraform AWS Provider... --- PASS: TestAccLightsailInstancePublicPorts_disappears_Instance (52.43s) --- PASS: TestAccLightsailInstancePublicPorts_icmpAll (52.92s) --- PASS: TestAccLightsailInstancePublicPorts_icmpPing (53.15s) --- PASS: TestAccLightsailInstancePublicPorts_disappears (54.23s) PASS ok github.com/hashicorp/terraform-provider-aws/internal/service/lightsail 59.794s ```
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 PKG=lightsail TESTS="TestAccLightsailInstancePublicPorts_disappears|TestAccLightsailInstancePublicPorts_icmp"
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.23.10 test ./internal/service/lightsail/... -v -count 1 -parallel 20 -run='TestAccLightsailInstancePublicPorts_disappears|TestAccLightsailInstancePublicPorts_icmp' -timeout 360m -vet=off
2025/06/16 15:02:01 Initializing Terraform AWS Provider...
--- PASS: TestAccLightsailInstancePublicPorts_disappears_Instance (52.43s)
--- PASS: TestAccLightsailInstancePublicPorts_icmpAll (52.92s)
--- PASS: TestAccLightsailInstancePublicPorts_icmpPing (53.15s)
--- PASS: TestAccLightsailInstancePublicPorts_disappears (54.23s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lightsail 59.794s
…mpv6_protocol_support
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 🎉
Tests still passing after merging main
:
% make testacc PKG=lightsail TESTS="TestAccLightsailInstancePublicPorts_disappears|TestAccLightsailInstancePublicPorts_icmp"
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.24.4 test ./internal/service/lightsail/... -v -count 1 -parallel 20 -run='TestAccLightsailInstancePublicPorts_disappears|TestAccLightsailInstancePublicPorts_icmp' -timeout 360m -vet=off
2025/06/19 10:41:00 Creating Terraform AWS Provider (SDKv2-style)...
2025/06/19 10:41:00 Initializing Terraform AWS Provider (SDKv2-style)...
--- PASS: TestAccLightsailInstancePublicPorts_icmpPing (56.99s)
--- PASS: TestAccLightsailInstancePublicPorts_icmpAll (57.17s)
--- PASS: TestAccLightsailInstancePublicPorts_disappears (57.77s)
--- PASS: TestAccLightsailInstancePublicPorts_disappears_Instance (64.52s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/lightsail 70.598s
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 🚀.
Thanks for your contribution, @acwwat! 🚀 |
Warning This Issue has been closed, meaning that any additional comments are much easier for the maintainers to miss. Please assume that the maintainers will not see them. Ongoing conversations amongst community members are welcome, however, the issue will be locked after 30 days. Moving conversations to another venue, such as the AWS Provider forum, is recommended. If you have additional concerns, please open a new issue, referencing this one where needed. |
This functionality has been released in v6.1.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! |
Description
This PR is to add support for
icmpv6
for theaws_lightsail_instance_public_ports
resource.Note that not all acceptance tests are passing due to perpetual changes which is tracked via #30286. I have thus only include test results of the two new test cases I added.
Relations
Closes #35526
Closes #30288
References
Referred to OpenInstancePublicPorts for specs and wordings.
Output from Acceptance Testing
Updated: 2025-06-14