-
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
Migrate Network Manager
resources to AWS SDK v2
#38915
Migrate Network Manager
resources to AWS SDK v2
#38915
Conversation
# Conflicts: # internal/conns/awsclient_gen.go
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=TestAccNetworkManager' PKG=networkmanager ACCTEST_PARALLELISM=4
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.6 test ./internal/service/networkmanager/... -v -count 1 -parallel 4 -run=TestAccNetworkManager -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
=== RUN TestAccNetworkManagerConnectionDataSource_basic
=== PAUSE TestAccNetworkManagerConnectionDataSource_basic
=== RUN TestAccNetworkManagerConnection_serial
=== PAUSE TestAccNetworkManagerConnection_serial
=== RUN TestAccNetworkManagerConnectionsDataSource_basic
=== PAUSE TestAccNetworkManagerConnectionsDataSource_basic
=== RUN TestAccNetworkManagerCoreNetworkPolicyAttachment_basic
=== PAUSE TestAccNetworkManagerCoreNetworkPolicyAttachment_basic
=== RUN TestAccNetworkManagerCoreNetworkPolicyAttachment_vpcAttachment
=== PAUSE TestAccNetworkManagerCoreNetworkPolicyAttachment_vpcAttachment
=== RUN TestAccNetworkManagerCoreNetworkPolicyAttachment_vpcAttachmentMultiRegion
=== PAUSE TestAccNetworkManagerCoreNetworkPolicyAttachment_vpcAttachmentMultiRegion
=== RUN TestAccNetworkManagerCoreNetworkPolicyAttachment_expectPolicyErrorInvalidASNRange
=== PAUSE TestAccNetworkManagerCoreNetworkPolicyAttachment_expectPolicyErrorInvalidASNRange
=== RUN TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
=== PAUSE TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
=== RUN TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_serviceInsertion
=== PAUSE TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_serviceInsertion
=== RUN TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_whenSentTo
=== PAUSE TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_whenSentTo
=== RUN TestAccNetworkManagerCoreNetwork_basic
=== PAUSE TestAccNetworkManagerCoreNetwork_basic
=== RUN TestAccNetworkManagerCoreNetwork_disappears
=== PAUSE TestAccNetworkManagerCoreNetwork_disappears
=== RUN TestAccNetworkManagerCoreNetwork_tags
=== PAUSE TestAccNetworkManagerCoreNetwork_tags
=== RUN TestAccNetworkManagerCoreNetwork_description
=== PAUSE TestAccNetworkManagerCoreNetwork_description
=== RUN TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithoutRegion
=== PAUSE TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithoutRegion
=== RUN TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithRegion
=== PAUSE TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithRegion
=== RUN TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithMultiRegion
=== PAUSE TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithMultiRegion
=== RUN TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithPolicyDocument
=== PAUSE TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithPolicyDocument
=== RUN TestAccNetworkManagerCoreNetwork_withoutPolicyDocumentUpdateToCreateBasePolicyDocument
=== PAUSE TestAccNetworkManagerCoreNetwork_withoutPolicyDocumentUpdateToCreateBasePolicyDocument
=== RUN TestAccNetworkManagerCustomerGatewayAssociation_serial
=== PAUSE TestAccNetworkManagerCustomerGatewayAssociation_serial
=== RUN TestAccNetworkManagerDeviceDataSource_basic
=== PAUSE TestAccNetworkManagerDeviceDataSource_basic
=== RUN TestAccNetworkManagerDevice_basic
=== PAUSE TestAccNetworkManagerDevice_basic
=== RUN TestAccNetworkManagerDevice_disappears
=== PAUSE TestAccNetworkManagerDevice_disappears
=== RUN TestAccNetworkManagerDevice_tags
=== PAUSE TestAccNetworkManagerDevice_tags
=== RUN TestAccNetworkManagerDevice_allAttributes
=== PAUSE TestAccNetworkManagerDevice_allAttributes
=== RUN TestAccNetworkManagerDevice_awsLocation
=== PAUSE TestAccNetworkManagerDevice_awsLocation
=== RUN TestAccNetworkManagerDevicesDataSource_basic
=== PAUSE TestAccNetworkManagerDevicesDataSource_basic
=== RUN TestAccNetworkManagerGlobalNetworkDataSource_basic
=== PAUSE TestAccNetworkManagerGlobalNetworkDataSource_basic
=== RUN TestAccNetworkManagerGlobalNetwork_basic
=== PAUSE TestAccNetworkManagerGlobalNetwork_basic
=== RUN TestAccNetworkManagerGlobalNetwork_disappears
=== PAUSE TestAccNetworkManagerGlobalNetwork_disappears
=== RUN TestAccNetworkManagerGlobalNetwork_tags
=== PAUSE TestAccNetworkManagerGlobalNetwork_tags
=== RUN TestAccNetworkManagerGlobalNetwork_description
=== PAUSE TestAccNetworkManagerGlobalNetwork_description
=== RUN TestAccNetworkManagerGlobalNetworksDataSource_basic
=== PAUSE TestAccNetworkManagerGlobalNetworksDataSource_basic
=== RUN TestAccNetworkManagerLinkAssociation_basic
=== PAUSE TestAccNetworkManagerLinkAssociation_basic
=== RUN TestAccNetworkManagerLinkAssociation_disappears
=== PAUSE TestAccNetworkManagerLinkAssociation_disappears
=== RUN TestAccNetworkManagerLinkDataSource_basic
=== PAUSE TestAccNetworkManagerLinkDataSource_basic
=== RUN TestAccNetworkManagerLink_basic
=== PAUSE TestAccNetworkManagerLink_basic
=== RUN TestAccNetworkManagerLink_disappears
=== PAUSE TestAccNetworkManagerLink_disappears
=== RUN TestAccNetworkManagerLink_tags
=== PAUSE TestAccNetworkManagerLink_tags
=== RUN TestAccNetworkManagerLink_allAttributes
=== PAUSE TestAccNetworkManagerLink_allAttributes
=== RUN TestAccNetworkManagerLinksDataSource_basic
=== PAUSE TestAccNetworkManagerLinksDataSource_basic
=== RUN TestAccNetworkManagerSiteDataSource_basic
=== PAUSE TestAccNetworkManagerSiteDataSource_basic
=== RUN TestAccNetworkManagerSite_basic
=== PAUSE TestAccNetworkManagerSite_basic
=== RUN TestAccNetworkManagerSite_disappears
=== PAUSE TestAccNetworkManagerSite_disappears
=== RUN TestAccNetworkManagerSite_tags
=== PAUSE TestAccNetworkManagerSite_tags
=== RUN TestAccNetworkManagerSite_description
=== PAUSE TestAccNetworkManagerSite_description
=== RUN TestAccNetworkManagerSite_location
=== PAUSE TestAccNetworkManagerSite_location
=== RUN TestAccNetworkManagerSiteToSiteVPNAttachment_basic
=== PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_basic
=== RUN TestAccNetworkManagerSiteToSiteVPNAttachment_disappears
=== PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_disappears
=== RUN TestAccNetworkManagerSiteToSiteVPNAttachment_tags
=== PAUSE TestAccNetworkManagerSiteToSiteVPNAttachment_tags
=== RUN TestAccNetworkManagerSitesDataSource_basic
=== PAUSE TestAccNetworkManagerSitesDataSource_basic
=== RUN TestAccNetworkManagerTransitGatewayConnectPeerAssociation_serial
=== PAUSE TestAccNetworkManagerTransitGatewayConnectPeerAssociation_serial
=== RUN TestAccNetworkManagerTransitGatewayPeering_basic
=== PAUSE TestAccNetworkManagerTransitGatewayPeering_basic
=== RUN TestAccNetworkManagerTransitGatewayPeering_disappears
=== PAUSE TestAccNetworkManagerTransitGatewayPeering_disappears
=== RUN TestAccNetworkManagerTransitGatewayPeering_tags
=== PAUSE TestAccNetworkManagerTransitGatewayPeering_tags
=== RUN TestAccNetworkManagerTransitGatewayRegistration_serial
=== PAUSE TestAccNetworkManagerTransitGatewayRegistration_serial
=== RUN TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic
=== PAUSE TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic
=== RUN TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears
=== PAUSE TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears
=== RUN TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags
=== PAUSE TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags
=== RUN TestAccNetworkManagerVPCAttachment_basic
=== PAUSE TestAccNetworkManagerVPCAttachment_basic
=== RUN TestAccNetworkManagerVPCAttachment_Attached_basic
=== PAUSE TestAccNetworkManagerVPCAttachment_Attached_basic
=== RUN TestAccNetworkManagerVPCAttachment_disappears
=== PAUSE TestAccNetworkManagerVPCAttachment_disappears
=== RUN TestAccNetworkManagerVPCAttachment_Attached_disappears
=== PAUSE TestAccNetworkManagerVPCAttachment_Attached_disappears
=== RUN TestAccNetworkManagerVPCAttachment_Attached_disappearsAccepter
=== PAUSE TestAccNetworkManagerVPCAttachment_Attached_disappearsAccepter
=== RUN TestAccNetworkManagerVPCAttachment_tags
=== PAUSE TestAccNetworkManagerVPCAttachment_tags
=== RUN TestAccNetworkManagerVPCAttachment_update
=== PAUSE TestAccNetworkManagerVPCAttachment_update
=== RUN TestAccNetworkManagerVPCAttachment_Attached_update
=== PAUSE TestAccNetworkManagerVPCAttachment_Attached_update
=== CONT TestAccNetworkManagerConnectAttachment_basic
=== CONT TestAccNetworkManagerLink_tags
=== CONT TestAccNetworkManagerVPCAttachment_Attached_update
=== CONT TestAccNetworkManagerTransitGatewayPeering_disappears
=== RUN TestAccNetworkManagerVPCAttachment_Attached_update/acceptance_not_required
=== PAUSE TestAccNetworkManagerVPCAttachment_Attached_update/acceptance_not_required
=== RUN TestAccNetworkManagerVPCAttachment_Attached_update/acceptance_required
=== PAUSE TestAccNetworkManagerVPCAttachment_Attached_update/acceptance_required
=== CONT TestAccNetworkManagerVPCAttachment_Attached_basic
=== RUN TestAccNetworkManagerVPCAttachment_Attached_basic/acceptance_required
=== PAUSE TestAccNetworkManagerVPCAttachment_Attached_basic/acceptance_required
=== RUN TestAccNetworkManagerVPCAttachment_Attached_basic/acceptance_not_required
=== PAUSE TestAccNetworkManagerVPCAttachment_Attached_basic/acceptance_not_required
=== CONT TestAccNetworkManagerVPCAttachment_update
=== RUN TestAccNetworkManagerVPCAttachment_update/acceptance_required
=== PAUSE TestAccNetworkManagerVPCAttachment_update/acceptance_required
=== RUN TestAccNetworkManagerVPCAttachment_update/acceptance_not_required
=== PAUSE TestAccNetworkManagerVPCAttachment_update/acceptance_not_required
=== CONT TestAccNetworkManagerVPCAttachment_tags
--- PASS: TestAccNetworkManagerLink_tags (34.89s)
=== CONT TestAccNetworkManagerVPCAttachment_Attached_disappearsAccepter
=== NAME TestAccNetworkManagerTransitGatewayPeering_disappears
acctest.go:1735: skipping test for aws/us-west-2: Error running apply: exit status 1
Error: creating Network Manager Transit Gateway (arn:aws:ec2:us-west-2:067819342479:transit-gateway/tgw-0c99d16de518bf428) Peering (core-network-0ce46cc1a29fddf4f): operation error NetworkManager: CreateTransitGatewayPeering, https response error StatusCode: 400, RequestID: 54e4f8f4-f025-4b0c-af05-7bf9207c0e8d, ValidationException: Core Network edge location (us-west-2) not available.
with aws_networkmanager_transit_gateway_peering.test,
on terraform_plugin_test.tf line 62, in resource "aws_networkmanager_transit_gateway_peering" "test":
62: resource "aws_networkmanager_transit_gateway_peering" "test" {
--- SKIP: TestAccNetworkManagerTransitGatewayPeering_disappears (586.65s)
=== CONT TestAccNetworkManagerVPCAttachment_Attached_disappears
=== RUN TestAccNetworkManagerVPCAttachment_Attached_disappears/acceptance_required
=== PAUSE TestAccNetworkManagerVPCAttachment_Attached_disappears/acceptance_required
=== RUN TestAccNetworkManagerVPCAttachment_Attached_disappears/acceptance_not_required
=== PAUSE TestAccNetworkManagerVPCAttachment_Attached_disappears/acceptance_not_required
=== CONT TestAccNetworkManagerVPCAttachment_disappears
=== RUN TestAccNetworkManagerVPCAttachment_disappears/acceptance_required
=== PAUSE TestAccNetworkManagerVPCAttachment_disappears/acceptance_required
=== RUN TestAccNetworkManagerVPCAttachment_disappears/acceptance_not_required
=== PAUSE TestAccNetworkManagerVPCAttachment_disappears/acceptance_not_required
=== CONT TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithRegion
--- PASS: TestAccNetworkManagerVPCAttachment_tags (1008.37s)
=== CONT TestAccNetworkManagerLink_disappears
--- PASS: TestAccNetworkManagerLink_disappears (15.15s)
=== CONT TestAccNetworkManagerLink_basic
--- PASS: TestAccNetworkManagerLink_basic (16.73s)
=== CONT TestAccNetworkManagerLinkDataSource_basic
--- PASS: TestAccNetworkManagerVPCAttachment_Attached_disappearsAccepter (1019.26s)
=== CONT TestAccNetworkManagerLinkAssociation_disappears
--- PASS: TestAccNetworkManagerLinkDataSource_basic (14.86s)
=== CONT TestAccNetworkManagerLinkAssociation_basic
--- PASS: TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithRegion (483.08s)
=== CONT TestAccNetworkManagerGlobalNetworksDataSource_basic
--- PASS: TestAccNetworkManagerLinkAssociation_disappears (17.58s)
=== CONT TestAccNetworkManagerGlobalNetwork_description
--- PASS: TestAccNetworkManagerLinkAssociation_basic (18.69s)
=== CONT TestAccNetworkManagerGlobalNetwork_tags
--- PASS: TestAccNetworkManagerGlobalNetworksDataSource_basic (10.91s)
=== CONT TestAccNetworkManagerGlobalNetwork_disappears
--- PASS: TestAccNetworkManagerGlobalNetwork_description (19.48s)
=== CONT TestAccNetworkManagerGlobalNetwork_basic
--- PASS: TestAccNetworkManagerGlobalNetwork_disappears (12.23s)
=== CONT TestAccNetworkManagerGlobalNetworkDataSource_basic
--- PASS: TestAccNetworkManagerGlobalNetwork_tags (32.01s)
=== CONT TestAccNetworkManagerDevicesDataSource_basic
--- PASS: TestAccNetworkManagerGlobalNetworkDataSource_basic (17.90s)
=== CONT TestAccNetworkManagerDevice_awsLocation
--- PASS: TestAccNetworkManagerGlobalNetwork_basic (21.14s)
=== CONT TestAccNetworkManagerDevice_allAttributes
--- PASS: TestAccNetworkManagerDevicesDataSource_basic (20.02s)
=== CONT TestAccNetworkManagerDevice_tags
--- PASS: TestAccNetworkManagerDevice_allAttributes (35.50s)
=== CONT TestAccNetworkManagerDevice_disappears
--- PASS: TestAccNetworkManagerDevice_awsLocation (38.11s)
=== CONT TestAccNetworkManagerDevice_basic
--- PASS: TestAccNetworkManagerDevice_disappears (17.29s)
=== CONT TestAccNetworkManagerDeviceDataSource_basic
--- PASS: TestAccNetworkManagerDevice_tags (39.73s)
=== CONT TestAccNetworkManagerCustomerGatewayAssociation_serial
=== RUN TestAccNetworkManagerCustomerGatewayAssociation_serial/basic
--- PASS: TestAccNetworkManagerDevice_basic (19.21s)
=== CONT TestAccNetworkManagerCoreNetwork_withoutPolicyDocumentUpdateToCreateBasePolicyDocument
--- PASS: TestAccNetworkManagerDeviceDataSource_basic (15.57s)
=== CONT TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithPolicyDocument
--- PASS: TestAccNetworkManagerConnectAttachment_basic (1253.15s)
=== CONT TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithMultiRegion
=== RUN TestAccNetworkManagerCustomerGatewayAssociation_serial/disappears
--- PASS: TestAccNetworkManagerCoreNetwork_withoutPolicyDocumentUpdateToCreateBasePolicyDocument (584.06s)
=== CONT TestAccNetworkManagerSite_location
--- PASS: TestAccNetworkManagerSite_location (25.96s)
=== CONT TestAccNetworkManagerTransitGatewayPeering_basic
acctest.go:1735: skipping test for aws/us-west-2: Error running apply: exit status 1
Error: creating Network Manager Transit Gateway (arn:aws:ec2:us-west-2:067819342479:transit-gateway/tgw-06d7c7e7313599bd6) Peering (core-network-0a674ed91844f4f00): operation error NetworkManager: CreateTransitGatewayPeering, https response error StatusCode: 400, RequestID: 5c5fd676-6912-4445-a8c4-3c8f6d1b5166, ValidationException: Core Network edge location (us-west-2) not available.
with aws_networkmanager_transit_gateway_peering.test,
on terraform_plugin_test.tf line 62, in resource "aws_networkmanager_transit_gateway_peering" "test":
62: resource "aws_networkmanager_transit_gateway_peering" "test" {
--- PASS: TestAccNetworkManagerCustomerGatewayAssociation_serial (938.74s)
--- PASS: TestAccNetworkManagerCustomerGatewayAssociation_serial/basic (503.17s)
--- PASS: TestAccNetworkManagerCustomerGatewayAssociation_serial/disappears (435.57s)
=== CONT TestAccNetworkManagerTransitGatewayConnectPeerAssociation_serial
=== RUN TestAccNetworkManagerTransitGatewayConnectPeerAssociation_serial/basic
--- SKIP: TestAccNetworkManagerTransitGatewayPeering_basic (536.32s)
=== CONT TestAccNetworkManagerSitesDataSource_basic
--- PASS: TestAccNetworkManagerSitesDataSource_basic (13.11s)
=== CONT TestAccNetworkManagerSiteToSiteVPNAttachment_tags
--- PASS: TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithPolicyDocument (1597.56s)
=== CONT TestAccNetworkManagerSiteToSiteVPNAttachment_disappears
--- PASS: TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithMultiRegion (1617.83s)
=== CONT TestAccNetworkManagerSiteToSiteVPNAttachment_basic
=== RUN TestAccNetworkManagerTransitGatewayConnectPeerAssociation_serial/disappears
--- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_tags (1153.46s)
=== CONT TestAccNetworkManagerSite_basic
--- PASS: TestAccNetworkManagerSite_basic (18.18s)
=== CONT TestAccNetworkManagerSite_description
--- PASS: TestAccNetworkManagerSite_description (23.37s)
=== CONT TestAccNetworkManagerSite_tags
--- PASS: TestAccNetworkManagerSite_tags (30.52s)
=== CONT TestAccNetworkManagerSite_disappears
=== RUN TestAccNetworkManagerTransitGatewayConnectPeerAssociation_serial/disappears_ConnectPeer
--- PASS: TestAccNetworkManagerSite_disappears (13.70s)
=== CONT TestAccNetworkManagerCoreNetworkPolicyAttachment_basic
--- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_basic (1041.36s)
=== CONT TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithoutRegion
--- PASS: TestAccNetworkManagerSiteToSiteVPNAttachment_disappears (1163.42s)
=== CONT TestAccNetworkManagerCoreNetwork_description
--- PASS: TestAccNetworkManagerTransitGatewayConnectPeerAssociation_serial (2138.38s)
--- PASS: TestAccNetworkManagerTransitGatewayConnectPeerAssociation_serial/basic (769.92s)
--- PASS: TestAccNetworkManagerTransitGatewayConnectPeerAssociation_serial/disappears (686.94s)
--- PASS: TestAccNetworkManagerTransitGatewayConnectPeerAssociation_serial/disappears_ConnectPeer (681.52s)
=== CONT TestAccNetworkManagerCoreNetwork_tags
--- PASS: TestAccNetworkManagerCoreNetwork_description (322.75s)
=== CONT TestAccNetworkManagerCoreNetwork_disappears
--- PASS: TestAccNetworkManagerCoreNetworkPolicyAttachment_basic (730.23s)
=== CONT TestAccNetworkManagerCoreNetwork_basic
--- PASS: TestAccNetworkManagerCoreNetwork_createBasePolicyDocumentWithoutRegion (525.87s)
=== CONT TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_whenSentTo
--- PASS: TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_whenSentTo (5.83s)
=== CONT TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_serviceInsertion
--- PASS: TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_serviceInsertion (5.70s)
=== CONT TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic
--- PASS: TestAccNetworkManagerCoreNetworkPolicyDocumentDataSource_basic (6.70s)
=== CONT TestAccNetworkManagerCoreNetworkPolicyAttachment_expectPolicyErrorInvalidASNRange
--- PASS: TestAccNetworkManagerCoreNetwork_tags (329.80s)
=== CONT TestAccNetworkManagerCoreNetworkPolicyAttachment_vpcAttachmentMultiRegion
--- PASS: TestAccNetworkManagerCoreNetwork_disappears (313.08s)
=== CONT TestAccNetworkManagerCoreNetworkPolicyAttachment_vpcAttachment
--- PASS: TestAccNetworkManagerCoreNetwork_basic (314.99s)
=== CONT TestAccNetworkManagerConnectAttachment_protocolNoEncap
--- PASS: TestAccNetworkManagerCoreNetworkPolicyAttachment_expectPolicyErrorInvalidASNRange (309.38s)
=== CONT TestAccNetworkManagerConnectPeer_basic
--- PASS: TestAccNetworkManagerConnectAttachment_protocolNoEncap (1159.57s)
=== CONT TestAccNetworkManagerConnectAttachment_tags
--- PASS: TestAccNetworkManagerCoreNetworkPolicyAttachment_vpcAttachment (1223.06s)
=== CONT TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears
--- PASS: TestAccNetworkManagerConnectPeer_basic (1521.50s)
=== CONT TestAccNetworkManagerVPCAttachment_basic
=== RUN TestAccNetworkManagerVPCAttachment_basic/acceptance_required
=== PAUSE TestAccNetworkManagerVPCAttachment_basic/acceptance_required
=== RUN TestAccNetworkManagerVPCAttachment_basic/acceptance_not_required
=== PAUSE TestAccNetworkManagerVPCAttachment_basic/acceptance_not_required
=== CONT TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags
--- PASS: TestAccNetworkManagerCoreNetworkPolicyAttachment_vpcAttachmentMultiRegion (1870.98s)
=== CONT TestAccNetworkManagerLinksDataSource_basic
--- PASS: TestAccNetworkManagerLinksDataSource_basic (15.87s)
=== CONT TestAccNetworkManagerSiteDataSource_basic
--- PASS: TestAccNetworkManagerSiteDataSource_basic (14.28s)
=== CONT TestAccNetworkManagerConnectPeer_noDependsOn
--- PASS: TestAccNetworkManagerConnectAttachment_tags (1002.29s)
=== CONT TestAccNetworkManagerConnectAttachment_disappears
--- PASS: TestAccNetworkManagerTransitGatewayRouteTableAttachment_disappears (1246.52s)
=== CONT TestAccNetworkManagerConnectionsDataSource_basic
--- PASS: TestAccNetworkManagerConnectionsDataSource_basic (22.55s)
=== CONT TestAccNetworkManagerTransitGatewayRegistration_serial
=== RUN TestAccNetworkManagerTransitGatewayRegistration_serial/basic
=== RUN TestAccNetworkManagerTransitGatewayRegistration_serial/disappears
--- PASS: TestAccNetworkManagerTransitGatewayRouteTableAttachment_tags (918.48s)
=== CONT TestAccNetworkManagerConnection_serial
=== RUN TestAccNetworkManagerConnection_serial/basic
=== RUN TestAccNetworkManagerConnection_serial/disappears
=== RUN TestAccNetworkManagerConnection_serial/tags
=== RUN TestAccNetworkManagerConnection_serial/descriptionAndLinks
=== RUN TestAccNetworkManagerTransitGatewayRegistration_serial/disappears_TransitGateway
--- PASS: TestAccNetworkManagerConnection_serial (117.30s)
--- PASS: TestAccNetworkManagerConnection_serial/basic (22.17s)
--- PASS: TestAccNetworkManagerConnection_serial/disappears (20.25s)
--- PASS: TestAccNetworkManagerConnection_serial/tags (40.27s)
--- PASS: TestAccNetworkManagerConnection_serial/descriptionAndLinks (34.61s)
=== CONT TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic
=== RUN TestAccNetworkManagerTransitGatewayRegistration_serial/crossRegion
--- PASS: TestAccNetworkManagerConnectPeer_noDependsOn (1149.63s)
=== CONT TestAccNetworkManagerConnectionDataSource_basic
--- PASS: TestAccNetworkManagerConnectionDataSource_basic (25.18s)
=== CONT TestAccNetworkManagerConnectPeer_tags
--- PASS: TestAccNetworkManagerTransitGatewayRegistration_serial (617.03s)
--- PASS: TestAccNetworkManagerTransitGatewayRegistration_serial/basic (92.82s)
--- PASS: TestAccNetworkManagerTransitGatewayRegistration_serial/disappears (153.08s)
--- PASS: TestAccNetworkManagerTransitGatewayRegistration_serial/disappears_TransitGateway (170.30s)
--- PASS: TestAccNetworkManagerTransitGatewayRegistration_serial/crossRegion (200.82s)
=== CONT TestAccNetworkManagerConnectPeer_subnetARN
--- PASS: TestAccNetworkManagerConnectAttachment_disappears (1005.23s)
=== CONT TestAccNetworkManagerConnectAttachment_basic_NoDependsOn
connect_attachment_test.go:66: Error running post-test destroy, there may be dangling resources: exit status 1
Error: deleting Network Manager VPC Attachment (attachment-02858220f12787517): operation error NetworkManager: DeleteAttachment, https response error StatusCode: 400, RequestID: a07a71d6-a029-498a-9c0d-7294f2c98ea4, ValidationException: VPC attachment (attachment-02858220f12787517) cannot be deleted due to existing Connect attachment (attachment-06ec52846fe55e835).
--- FAIL: TestAccNetworkManagerConnectAttachment_basic_NoDependsOn (315.00s)
=== CONT TestAccNetworkManagerLink_allAttributes
--- PASS: TestAccNetworkManagerLink_allAttributes (29.65s)
=== CONT TestAccNetworkManagerTransitGatewayPeering_tags
acctest.go:1735: skipping test for aws/us-west-2: Error running apply: exit status 1
Error: creating Network Manager Transit Gateway (arn:aws:ec2:us-west-2:123456789012:transit-gateway/tgw-06b1d57aaf5ee1362) Peering (core-network-0743a550fc7d82d25): operation error NetworkManager: CreateTransitGatewayPeering, https response error StatusCode: 400, RequestID: 7e98f390-3605-43de-aa6a-b53330661f4c, ValidationException: Core Network edge location (us-west-2) not available.
with aws_networkmanager_transit_gateway_peering.test,
on terraform_plugin_test.tf line 62, in resource "aws_networkmanager_transit_gateway_peering" "test":
62: resource "aws_networkmanager_transit_gateway_peering" "test" {
--- PASS: TestAccNetworkManagerTransitGatewayRouteTableAttachment_basic (1019.17s)
=== CONT TestAccNetworkManagerVPCAttachment_Attached_update/acceptance_not_required
--- PASS: TestAccNetworkManagerConnectPeer_subnetARN (864.67s)
=== CONT TestAccNetworkManagerVPCAttachment_Attached_update/acceptance_required
--- SKIP: TestAccNetworkManagerTransitGatewayPeering_tags (434.14s)
=== CONT TestAccNetworkManagerVPCAttachment_Attached_basic/acceptance_required
--- PASS: TestAccNetworkManagerConnectPeer_tags (1004.39s)
=== CONT TestAccNetworkManagerVPCAttachment_Attached_basic/acceptance_not_required
=== CONT TestAccNetworkManagerVPCAttachment_update/acceptance_required
--- PASS: TestAccNetworkManagerVPCAttachment_Attached_basic (0.00s)
--- PASS: TestAccNetworkManagerVPCAttachment_Attached_basic/acceptance_required (846.31s)
--- PASS: TestAccNetworkManagerVPCAttachment_Attached_basic/acceptance_not_required (968.06s)
=== CONT TestAccNetworkManagerVPCAttachment_update/acceptance_not_required
=== CONT TestAccNetworkManagerVPCAttachment_Attached_disappears/acceptance_required
=== CONT TestAccNetworkManagerVPCAttachment_Attached_disappears/acceptance_not_required
--- PASS: TestAccNetworkManagerVPCAttachment_Attached_update (0.00s)
--- PASS: TestAccNetworkManagerVPCAttachment_Attached_update/acceptance_not_required (1323.65s)
--- PASS: TestAccNetworkManagerVPCAttachment_Attached_update/acceptance_required (1386.73s)
=== CONT TestAccNetworkManagerVPCAttachment_disappears/acceptance_required
=== CONT TestAccNetworkManagerVPCAttachment_disappears/acceptance_not_required
=== CONT TestAccNetworkManagerVPCAttachment_basic/acceptance_required
--- PASS: TestAccNetworkManagerVPCAttachment_Attached_disappears (0.00s)
--- PASS: TestAccNetworkManagerVPCAttachment_Attached_disappears/acceptance_required (640.11s)
--- PASS: TestAccNetworkManagerVPCAttachment_Attached_disappears/acceptance_not_required (731.16s)
=== CONT TestAccNetworkManagerVPCAttachment_basic/acceptance_not_required
--- PASS: TestAccNetworkManagerVPCAttachment_update (0.00s)
--- PASS: TestAccNetworkManagerVPCAttachment_update/acceptance_required (420.62s)
--- PASS: TestAccNetworkManagerVPCAttachment_update/acceptance_not_required (1173.48s)
--- PASS: TestAccNetworkManagerVPCAttachment_disappears (0.00s)
--- PASS: TestAccNetworkManagerVPCAttachment_disappears/acceptance_required (432.69s)
--- PASS: TestAccNetworkManagerVPCAttachment_disappears/acceptance_not_required (631.26s)
--- PASS: TestAccNetworkManagerVPCAttachment_basic (0.00s)
--- PASS: TestAccNetworkManagerVPCAttachment_basic/acceptance_required (433.29s)
--- PASS: TestAccNetworkManagerVPCAttachment_basic/acceptance_not_required (694.74s)
FAIL
FAIL github.com/hashicorp/terraform-provider-aws/internal/service/networkmanager 11255.888s
FAIL
make: *** [testacc] Error 1
Failure is unrelated to this change.
@DanielRieske Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.63.1 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 PR migrates the remaining
Network Manager
resources to AWS SDKv2.Relations
Closes #36191
Relates #32976
References
Output from Acceptance Testing
Test failures are pre-migration errors.
Sweepers