-
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
f/aws_networkmanager_connect_attachment #27787
f/aws_networkmanager_connect_attachment #27787
Conversation
Community NoteVoting for Prioritization
For Submitters
|
…ageContains' when retrying resource creation.
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=TestAccNetworkManagerSiteToSiteVPNAttachment_\|TestAccNetworkManagerVPCAttachment_\|TestAccNetworkManagerConnectAttachment_' 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=TestAccNetworkManagerSiteToSiteVPNAttachment_\|TestAccNetworkManagerVPCAttachment_\|TestAccNetworkManagerConnectAttachment_ -timeout 180m
=== RUN TestAccNetworkManagerConnectAttachment_basic
=== PAUSE TestAccNetworkManagerConnectAttachment_basic
=== RUN TestAccNetworkManagerConnectAttachment_basic_NoDependsOn
=== PAUSE TestAccNetworkManagerConnectAttachment_basic_NoDependsOn
=== RUN TestAccNetworkManagerConnectAttachment_disappears
=== PAUSE TestAccNetworkManagerConnectAttachment_disappears
=== RUN TestAccNetworkManagerConnectAttachment_tags
=== PAUSE TestAccNetworkManagerConnectAttachment_tags
=== RUN TestAccNetworkManagerSiteToSiteVPNAttachment_basic
=== PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_basic
=== RUN TestAccNetworkManagerSiteToSiteVPNAttachment_disappears
=== PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_disappears
=== RUN TestAccNetworkManagerSiteToSiteVPNAttachment_tags
=== PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_tags
=== RUN TestAccNetworkManagerVPCAttachment_basic
=== PAUSE TestAccNetworkManagerVPCAttachment_basic
=== RUN TestAccNetworkManagerVPCAttachment_disappears
=== PAUSE TestAccNetworkManagerVPCAttachment_disappears
=== RUN TestAccNetworkManagerVPCAttachment_tags
=== PAUSE TestAccNetworkManagerVPCAttachment_tags
=== RUN TestAccNetworkManagerVPCAttachment_update
=== PAUSE TestAccNetworkManagerVPCAttachment_update
=== CONT TestAccNetworkManagerConnectAttachment_basic
=== CONT TestAccNetworkManagerSiteToSiteVPNAttachment_tags
--- PASS: TestAccNetworkManagerConnectAttachment_basic (1224.49s)
=== CONT TestAccNetworkManagerConnectAttachment_tags
--- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_tags (1355.57s)
=== CONT TestAccNetworkManagerSiteToSiteVPNAttachment_disappears
--- PASS: TestAccNetworkManagerConnectAttachment_tags (1270.34s)
=== CONT TestAccNetworkManagerSiteToSiteVPNAttachment_basic
--- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_disappears (1444.16s)
=== CONT TestAccNetworkManagerConnectAttachment_disappears
--- PASS: TestAccNetworkManagerConnectAttachment_disappears (1238.36s)
=== CONT TestAccNetworkManagerVPCAttachment_tags
--- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_basic (1556.93s)
=== CONT TestAccNetworkManagerVPCAttachment_update
--- PASS: TestAccNetworkManagerVPCAttachment_update (1219.61s)
=== CONT TestAccNetworkManagerVPCAttachment_disappears
--- PASS: TestAccNetworkManagerVPCAttachment_tags (1123.31s)
=== CONT TestAccNetworkManagerVPCAttachment_basic
--- PASS: TestAccNetworkManagerVPCAttachment_disappears (832.92s)
=== CONT TestAccNetworkManagerConnectAttachment_basic_NoDependsOn
--- PASS: TestAccNetworkManagerVPCAttachment_basic (708.41s)
--- PASS: TestAccNetworkManagerConnectAttachment_basic_NoDependsOn (1273.72s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 6439.081s
@juhala-aws Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.40.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
This pull request adds a new resource Connect attachment to AWS Network Manager, updates Network Manager attachment accepter to accept this new attachment type and fixes one related issue in VPC attachment.
This PR fixes an issue in VPC attachment in delete function. Fis is related to this PR as Connect Attachment is using VPC attachment and VPC attachment tests are failing. Fail in tests happen if attachment accepter is used and attachment is deleted immediately after create. With attachment accepter, attachment state is left in Pending Acceptance state and delete fails as that is not an accepted state.
Relations
Relates #26420
Relates #25835
References
https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_CreateConnectAttachment.html
https://docs.aws.amazon.com/networkmanager/latest/APIReference/API_DeleteAttachment.html
Output from Acceptance Testing