-
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
[Enhancement] Add NO_ENCAP support to aws_networkmanager_connect_attachment #34109
[Enhancement] Add NO_ENCAP support to aws_networkmanager_connect_attachment #34109
Conversation
Community NoteVoting for Prioritization
For Submitters
|
@ddericco Thanks for the contribution 🎉 👏. |
@ewbankkit good catch - will work on including that in this PR |
…otocol_Values()' in validation.
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 🚀.
% ACCTEST_TIMEOUT=720m make testacc TESTARGS='-run=TestAccNetworkManagerConnectAttachment_\|TestAccNetworkManagerConnectPeer_' PKG=networkmanager ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/networkmanager/... -v -count 1 -parallel 2 -run=TestAccNetworkManagerConnectAttachment_\|TestAccNetworkManagerConnectPeer_ -timeout 720m
=== RUN TestAccNetworkManagerConnectAttachment_basic
=== PAUSE TestAccNetworkManagerConnectAttachment_basic
=== RUN TestAccNetworkManagerConnectAttachment_basic_NoDependsOn
=== PAUSE TestAccNetworkManagerConnectAttachment_basic_NoDependsOn
=== RUN TestAccNetworkManagerConnectAttachment_disappears
=== PAUSE TestAccNetworkManagerConnectAttachment_disappears
=== RUN TestAccNetworkManagerConnectAttachment_protocolNoEncap
=== PAUSE TestAccNetworkManagerConnectAttachment_protocolNoEncap
=== RUN TestAccNetworkManagerConnectAttachment_tags
=== PAUSE TestAccNetworkManagerConnectAttachment_tags
=== RUN TestAccNetworkManagerConnectPeer_basic
=== PAUSE TestAccNetworkManagerConnectPeer_basic
=== RUN TestAccNetworkManagerConnectPeer_noDependsOn
=== PAUSE TestAccNetworkManagerConnectPeer_noDependsOn
=== RUN TestAccNetworkManagerConnectPeer_subnetARN
=== PAUSE TestAccNetworkManagerConnectPeer_subnetARN
=== RUN TestAccNetworkManagerConnectPeer_tags
=== PAUSE TestAccNetworkManagerConnectPeer_tags
=== CONT TestAccNetworkManagerConnectAttachment_basic
=== CONT TestAccNetworkManagerConnectPeer_basic
--- PASS: TestAccNetworkManagerConnectAttachment_basic (1199.16s)
=== CONT TestAccNetworkManagerConnectPeer_subnetARN
--- PASS: TestAccNetworkManagerConnectPeer_basic (1396.01s)
=== CONT TestAccNetworkManagerConnectPeer_tags
--- PASS: TestAccNetworkManagerConnectPeer_subnetARN (1564.75s)
=== CONT TestAccNetworkManagerConnectAttachment_protocolNoEncap
--- PASS: TestAccNetworkManagerConnectPeer_tags (1403.90s)
=== CONT TestAccNetworkManagerConnectAttachment_tags
--- PASS: TestAccNetworkManagerConnectAttachment_tags (1017.96s)
=== CONT TestAccNetworkManagerConnectAttachment_disappears
--- PASS: TestAccNetworkManagerConnectAttachment_protocolNoEncap (1079.16s)
=== CONT TestAccNetworkManagerConnectPeer_noDependsOn
--- PASS: TestAccNetworkManagerConnectAttachment_disappears (1126.20s)
=== CONT TestAccNetworkManagerConnectAttachment_basic_NoDependsOn
--- PASS: TestAccNetworkManagerConnectPeer_noDependsOn (1450.98s)
--- PASS: TestAccNetworkManagerConnectAttachment_basic_NoDependsOn (953.73s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 5903.443s
@ddericco Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.24.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. |
Description
aws_networkmanager_connect_attachment
: Add support for theNO_ENCAP
protocol option required for tunnel-less connect.aws_networkmanager_connect_peer
: Addsubnet_arn
attribute to support tunnel-less Connect attachmentsaws_networkmanager_connect_peer
: Markinside_cidr_blocks
argument as optional to support tunnel-less Connect attachmentsThis also updates the existing acceptance tests to check for the protocol type.
Relations
Closes #34101
References
Launch announcement: https://aws.amazon.com/about-aws/whats-new/2023/10/aws-cloud-wan-tunnel-less-high-performant-global-sd-wans/
API reference: https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_ConnectAttachmentOptions.html#networkmanager-Type-ConnectAttachmentOptions-Protocol
Output from Acceptance Testing