Skip to content
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

aws_route(_table): Wrap CRUD operations on route tables and routes in retries #19426

Merged
merged 31 commits into from
Jun 18, 2021

Conversation

alewando
Copy link
Contributor

@alewando alewando commented May 18, 2021

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #19133.
Closes #11743.
Closes #19405.

Original PR description:

When the aws_route_table resource creates a route table, it waits for the route table to become available by making DescribeRouteTables API calls until the resource shows as present. Immediately after this, however, the provider re-reads the route table (via the resourceAwsRouteTableRead function) and (eventual consistency being what it is), sometimes this read fails with:
Error: error reading route table (rtb-xxxxxx): couldn't find resource

This pull request adds logic to the resourceAwsRouteTableRead function, so that these later read calls will also perform retries if a InvalidRouteTableID.NotFound error is returned.

@alewando's commits have been enhanced with additional retries around all route creation, deletion and modification and all route table creation and deletion.
Falling out of that work, waiters have been added so that route table associations actually wait for the associations to reach the correct state.

Acceptance test output:

Commercial

% make testacc TEST=./aws TESTARGS='-run=TestAccAWSDefaultRouteTable_\|TestAccAWSRouteTable_\|TestAccAWSVpcEndpoint_\|TestAccAWSVpcEndpointSubnetAssociation_\|TestAccAWSVpcEndpointRouteTableAssociation_\|TestAccAWSMainRouteTableAssociation_\|TestAccAWSRouteTableAssociation_\|TestAccAWSRoute_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSDefaultRouteTable_\|TestAccAWSRouteTable_\|TestAccAWSVpcEndpoint_\|TestAccAWSVpcEndpointSubnetAssociation_\|TestAccAWSVpcEndpointRouteTableAssociation_\|TestAccAWSMainRouteTableAssociation_\|TestAccAWSRouteTableAssociation_\|TestAccAWSRoute_ -timeout 180m
=== RUN   TestAccAWSDefaultRouteTable_basic
=== PAUSE TestAccAWSDefaultRouteTable_basic
=== RUN   TestAccAWSDefaultRouteTable_disappears_Vpc
=== PAUSE TestAccAWSDefaultRouteTable_disappears_Vpc
=== RUN   TestAccAWSDefaultRouteTable_Route_ConfigMode
=== PAUSE TestAccAWSDefaultRouteTable_Route_ConfigMode
=== RUN   TestAccAWSDefaultRouteTable_swap
=== PAUSE TestAccAWSDefaultRouteTable_swap
=== RUN   TestAccAWSDefaultRouteTable_IPv4_To_TransitGateway
=== PAUSE TestAccAWSDefaultRouteTable_IPv4_To_TransitGateway
=== RUN   TestAccAWSDefaultRouteTable_IPv4_To_VpcEndpoint
=== PAUSE TestAccAWSDefaultRouteTable_IPv4_To_VpcEndpoint
=== RUN   TestAccAWSDefaultRouteTable_VpcEndpointAssociation
=== PAUSE TestAccAWSDefaultRouteTable_VpcEndpointAssociation
=== RUN   TestAccAWSDefaultRouteTable_Tags
=== PAUSE TestAccAWSDefaultRouteTable_Tags
=== RUN   TestAccAWSDefaultRouteTable_ConditionalCidrBlock
=== PAUSE TestAccAWSDefaultRouteTable_ConditionalCidrBlock
=== RUN   TestAccAWSDefaultRouteTable_PrefixList_To_InternetGateway
=== PAUSE TestAccAWSDefaultRouteTable_PrefixList_To_InternetGateway
=== RUN   TestAccAWSDefaultRouteTable_RevokeExistingRules
=== PAUSE TestAccAWSDefaultRouteTable_RevokeExistingRules
=== RUN   TestAccAWSMainRouteTableAssociation_basic
=== PAUSE TestAccAWSMainRouteTableAssociation_basic
=== RUN   TestAccAWSRouteTableAssociation_Subnet_basic
=== PAUSE TestAccAWSRouteTableAssociation_Subnet_basic
=== RUN   TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable
=== PAUSE TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable
=== RUN   TestAccAWSRouteTableAssociation_Gateway_basic
=== PAUSE TestAccAWSRouteTableAssociation_Gateway_basic
=== RUN   TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable
=== PAUSE TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable
=== RUN   TestAccAWSRouteTableAssociation_disappears
=== PAUSE TestAccAWSRouteTableAssociation_disappears
=== RUN   TestAccAWSRouteTable_basic
=== PAUSE TestAccAWSRouteTable_basic
=== RUN   TestAccAWSRouteTable_disappears
=== PAUSE TestAccAWSRouteTable_disappears
=== RUN   TestAccAWSRouteTable_disappears_SubnetAssociation
=== PAUSE TestAccAWSRouteTable_disappears_SubnetAssociation
=== RUN   TestAccAWSRouteTable_IPv4_To_InternetGateway
=== PAUSE TestAccAWSRouteTable_IPv4_To_InternetGateway
=== RUN   TestAccAWSRouteTable_IPv4_To_Instance
=== PAUSE TestAccAWSRouteTable_IPv4_To_Instance
=== RUN   TestAccAWSRouteTable_IPv6_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRouteTable_IPv6_To_EgressOnlyInternetGateway
=== RUN   TestAccAWSRouteTable_Tags
=== PAUSE TestAccAWSRouteTable_Tags
=== RUN   TestAccAWSRouteTable_RequireRouteDestination
=== PAUSE TestAccAWSRouteTable_RequireRouteDestination
=== RUN   TestAccAWSRouteTable_RequireRouteTarget
=== PAUSE TestAccAWSRouteTable_RequireRouteTarget
=== RUN   TestAccAWSRouteTable_Route_ConfigMode
=== PAUSE TestAccAWSRouteTable_Route_ConfigMode
=== RUN   TestAccAWSRouteTable_IPv4_To_TransitGateway
=== PAUSE TestAccAWSRouteTable_IPv4_To_TransitGateway
=== RUN   TestAccAWSRouteTable_IPv4_To_VpcEndpoint
=== PAUSE TestAccAWSRouteTable_IPv4_To_VpcEndpoint
=== RUN   TestAccAWSRouteTable_IPv4_To_CarrierGateway
=== PAUSE TestAccAWSRouteTable_IPv4_To_CarrierGateway
=== RUN   TestAccAWSRouteTable_IPv4_To_LocalGateway
=== PAUSE TestAccAWSRouteTable_IPv4_To_LocalGateway
=== RUN   TestAccAWSRouteTable_IPv4_To_VpcPeeringConnection
=== PAUSE TestAccAWSRouteTable_IPv4_To_VpcPeeringConnection
=== RUN   TestAccAWSRouteTable_VgwRoutePropagation
=== PAUSE TestAccAWSRouteTable_VgwRoutePropagation
=== RUN   TestAccAWSRouteTable_ConditionalCidrBlock
=== PAUSE TestAccAWSRouteTable_ConditionalCidrBlock
=== RUN   TestAccAWSRouteTable_IPv4_To_NatGateway
=== PAUSE TestAccAWSRouteTable_IPv4_To_NatGateway
=== RUN   TestAccAWSRouteTable_IPv6_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRouteTable_IPv6_To_NetworkInterface_Unattached
=== RUN   TestAccAWSRouteTable_IPv4_To_NetworkInterfaces_Unattached
=== PAUSE TestAccAWSRouteTable_IPv4_To_NetworkInterfaces_Unattached
=== RUN   TestAccAWSRouteTable_VpcMultipleCidrs
=== PAUSE TestAccAWSRouteTable_VpcMultipleCidrs
=== RUN   TestAccAWSRouteTable_VpcClassicLink
=== PAUSE TestAccAWSRouteTable_VpcClassicLink
=== RUN   TestAccAWSRouteTable_GatewayVpcEndpoint
=== PAUSE TestAccAWSRouteTable_GatewayVpcEndpoint
=== RUN   TestAccAWSRouteTable_MultipleRoutes
=== PAUSE TestAccAWSRouteTable_MultipleRoutes
=== RUN   TestAccAWSRouteTable_PrefixList_To_InternetGateway
=== PAUSE TestAccAWSRouteTable_PrefixList_To_InternetGateway
=== RUN   TestAccAWSRoute_basic
=== PAUSE TestAccAWSRoute_basic
=== RUN   TestAccAWSRoute_disappears
=== PAUSE TestAccAWSRoute_disappears
=== RUN   TestAccAWSRoute_disappears_RouteTable
=== PAUSE TestAccAWSRoute_disappears_RouteTable
=== RUN   TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== RUN   TestAccAWSRoute_IPv6_To_InternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_InternetGateway
=== RUN   TestAccAWSRoute_IPv6_To_Instance
=== PAUSE TestAccAWSRoute_IPv6_To_Instance
=== RUN   TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== RUN   TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== RUN   TestAccAWSRoute_IPv6_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv6_To_VpnGateway
=== RUN   TestAccAWSRoute_IPv4_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv4_To_VpnGateway
=== RUN   TestAccAWSRoute_IPv4_To_Instance
=== PAUSE TestAccAWSRoute_IPv4_To_Instance
=== RUN   TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== RUN   TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== RUN   TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments
=== RUN   TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== RUN   TestAccAWSRoute_IPv4_To_NatGateway
=== PAUSE TestAccAWSRoute_IPv4_To_NatGateway
=== RUN   TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== PAUSE TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== RUN   TestAccAWSRoute_IPv4_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv4_To_TransitGateway
=== RUN   TestAccAWSRoute_IPv6_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv6_To_TransitGateway
=== RUN   TestAccAWSRoute_IPv4_To_CarrierGateway
=== PAUSE TestAccAWSRoute_IPv4_To_CarrierGateway
=== RUN   TestAccAWSRoute_IPv4_To_LocalGateway
=== PAUSE TestAccAWSRoute_IPv4_To_LocalGateway
=== RUN   TestAccAWSRoute_IPv6_To_LocalGateway
=== PAUSE TestAccAWSRoute_IPv6_To_LocalGateway
=== RUN   TestAccAWSRoute_ConditionalCidrBlock
=== PAUSE TestAccAWSRoute_ConditionalCidrBlock
=== RUN   TestAccAWSRoute_IPv4_Update_Target
=== PAUSE TestAccAWSRoute_IPv4_Update_Target
=== RUN   TestAccAWSRoute_IPv6_Update_Target
=== PAUSE TestAccAWSRoute_IPv6_Update_Target
=== RUN   TestAccAWSRoute_IPv4_To_VpcEndpoint
=== PAUSE TestAccAWSRoute_IPv4_To_VpcEndpoint
=== RUN   TestAccAWSRoute_LocalRoute
=== PAUSE TestAccAWSRoute_LocalRoute
=== RUN   TestAccAWSRoute_PrefixList_To_InternetGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_InternetGateway
=== RUN   TestAccAWSRoute_PrefixList_To_VpnGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_VpnGateway
=== RUN   TestAccAWSRoute_PrefixList_To_Instance
=== PAUSE TestAccAWSRoute_PrefixList_To_Instance
=== RUN   TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached
=== RUN   TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached
=== PAUSE TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached
=== RUN   TestAccAWSRoute_PrefixList_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_PrefixList_To_VpcPeeringConnection
=== RUN   TestAccAWSRoute_PrefixList_To_NatGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_NatGateway
=== RUN   TestAccAWSRoute_PrefixList_To_TransitGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_TransitGateway
=== RUN   TestAccAWSRoute_PrefixList_To_CarrierGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_CarrierGateway
=== RUN   TestAccAWSRoute_PrefixList_To_LocalGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_LocalGateway
=== RUN   TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
=== RUN   TestAccAWSVpcEndpointRouteTableAssociation_basic
=== PAUSE TestAccAWSVpcEndpointRouteTableAssociation_basic
=== RUN   TestAccAWSVpcEndpointRouteTableAssociation_disappears
=== PAUSE TestAccAWSVpcEndpointRouteTableAssociation_disappears
=== RUN   TestAccAWSVpcEndpointSubnetAssociation_basic
=== PAUSE TestAccAWSVpcEndpointSubnetAssociation_basic
=== RUN   TestAccAWSVpcEndpointSubnetAssociation_disappears
=== PAUSE TestAccAWSVpcEndpointSubnetAssociation_disappears
=== RUN   TestAccAWSVpcEndpointSubnetAssociation_multiple
=== PAUSE TestAccAWSVpcEndpointSubnetAssociation_multiple
=== RUN   TestAccAWSVpcEndpoint_gatewayBasic
=== PAUSE TestAccAWSVpcEndpoint_gatewayBasic
=== RUN   TestAccAWSVpcEndpoint_gatewayWithRouteTableAndPolicy
=== PAUSE TestAccAWSVpcEndpoint_gatewayWithRouteTableAndPolicy
=== RUN   TestAccAWSVpcEndpoint_gatewayPolicy
=== PAUSE TestAccAWSVpcEndpoint_gatewayPolicy
=== RUN   TestAccAWSVpcEndpoint_interfaceBasic
=== PAUSE TestAccAWSVpcEndpoint_interfaceBasic
=== RUN   TestAccAWSVpcEndpoint_interfaceWithSubnetAndSecurityGroup
=== PAUSE TestAccAWSVpcEndpoint_interfaceWithSubnetAndSecurityGroup
=== RUN   TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnCreate
=== PAUSE TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnCreate
=== RUN   TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnUpdate
=== PAUSE TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnUpdate
=== RUN   TestAccAWSVpcEndpoint_disappears
=== PAUSE TestAccAWSVpcEndpoint_disappears
=== RUN   TestAccAWSVpcEndpoint_tags
=== PAUSE TestAccAWSVpcEndpoint_tags
=== RUN   TestAccAWSVpcEndpoint_VpcEndpointType_GatewayLoadBalancer
=== PAUSE TestAccAWSVpcEndpoint_VpcEndpointType_GatewayLoadBalancer
=== CONT  TestAccAWSDefaultRouteTable_basic
=== CONT  TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
--- PASS: TestAccAWSDefaultRouteTable_basic (27.60s)
=== CONT  TestAccAWSRouteTable_RequireRouteDestination
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (61.81s)
=== CONT  TestAccAWSRoute_IPv6_To_Instance
--- PASS: TestAccAWSRoute_IPv6_To_Instance (122.20s)
=== CONT  TestAccAWSRoute_IPv6_To_InternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (37.54s)
=== CONT  TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (40.63s)
=== CONT  TestAccAWSRoute_disappears_RouteTable
--- PASS: TestAccAWSRoute_disappears_RouteTable (34.17s)
=== CONT  TestAccAWSRoute_disappears
--- PASS: TestAccAWSRouteTable_RequireRouteDestination (315.75s)
=== CONT  TestAccAWSRoute_basic
--- PASS: TestAccAWSRoute_disappears (50.35s)
=== CONT  TestAccAWSRouteTable_PrefixList_To_InternetGateway
--- PASS: TestAccAWSRoute_basic (38.10s)
=== CONT  TestAccAWSRouteTable_MultipleRoutes
--- PASS: TestAccAWSRouteTable_PrefixList_To_InternetGateway (39.60s)
=== CONT  TestAccAWSRouteTable_GatewayVpcEndpoint
--- PASS: TestAccAWSRouteTable_GatewayVpcEndpoint (38.76s)
=== CONT  TestAccAWSRouteTable_VpcClassicLink
--- PASS: TestAccAWSRouteTable_VpcClassicLink (23.06s)
=== CONT  TestAccAWSRouteTable_VpcMultipleCidrs
--- PASS: TestAccAWSRouteTable_VpcMultipleCidrs (45.83s)
=== CONT  TestAccAWSRouteTable_IPv4_To_NetworkInterfaces_Unattached
--- PASS: TestAccAWSRouteTable_MultipleRoutes (179.70s)
=== CONT  TestAccAWSRouteTable_IPv6_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRouteTable_IPv6_To_NetworkInterface_Unattached (63.20s)
=== CONT  TestAccAWSRouteTable_IPv4_To_NatGateway
--- PASS: TestAccAWSRouteTable_IPv4_To_NetworkInterfaces_Unattached (140.57s)
=== CONT  TestAccAWSRouteTable_ConditionalCidrBlock
--- PASS: TestAccAWSRouteTable_ConditionalCidrBlock (59.74s)
=== CONT  TestAccAWSRouteTable_VgwRoutePropagation
--- PASS: TestAccAWSRouteTable_VgwRoutePropagation (81.18s)
=== CONT  TestAccAWSVpcEndpoint_VpcEndpointType_GatewayLoadBalancer
--- PASS: TestAccAWSRouteTable_IPv4_To_NatGateway (198.14s)
=== CONT  TestAccAWSRouteTable_IPv4_To_VpcPeeringConnection
--- PASS: TestAccAWSRouteTable_IPv4_To_VpcPeeringConnection (29.21s)
=== CONT  TestAccAWSVpcEndpoint_tags
--- PASS: TestAccAWSVpcEndpoint_tags (72.80s)
=== CONT  TestAccAWSRouteTableAssociation_Subnet_basic
--- PASS: TestAccAWSRouteTableAssociation_Subnet_basic (40.96s)
=== CONT  TestAccAWSVpcEndpoint_disappears
--- PASS: TestAccAWSVpcEndpoint_disappears (31.36s)
=== CONT  TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnUpdate
--- PASS: TestAccAWSVpcEndpoint_VpcEndpointType_GatewayLoadBalancer (310.54s)
=== CONT  TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnCreate
--- PASS: TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnUpdate (322.46s)
=== CONT  TestAccAWSRouteTable_IPv4_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSRouteTable_IPv4_To_LocalGateway (0.71s)
=== CONT  TestAccAWSVpcEndpoint_interfaceWithSubnetAndSecurityGroup
--- PASS: TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnCreate (328.11s)
=== CONT  TestAccAWSVpcEndpoint_interfaceBasic
--- PASS: TestAccAWSVpcEndpoint_interfaceBasic (98.48s)
=== CONT  TestAccAWSRouteTable_IPv4_To_CarrierGateway
--- PASS: TestAccAWSRouteTable_IPv4_To_CarrierGateway (27.88s)
=== CONT  TestAccAWSVpcEndpoint_gatewayPolicy
--- PASS: TestAccAWSVpcEndpoint_gatewayPolicy (59.08s)
=== CONT  TestAccAWSRouteTable_IPv4_To_VpcEndpoint
--- PASS: TestAccAWSVpcEndpoint_interfaceWithSubnetAndSecurityGroup (407.93s)
=== CONT  TestAccAWSRouteTable_IPv4_To_TransitGateway
--- PASS: TestAccAWSRouteTable_IPv4_To_VpcEndpoint (403.67s)
=== CONT  TestAccAWSRouteTable_Route_ConfigMode
--- PASS: TestAccAWSRouteTable_Route_ConfigMode (75.90s)
=== CONT  TestAccAWSRouteTable_Tags
--- PASS: TestAccAWSRouteTable_IPv4_To_TransitGateway (384.44s)
=== CONT  TestAccAWSRouteTable_RequireRouteTarget
--- PASS: TestAccAWSRouteTable_RequireRouteTarget (11.98s)
=== CONT  TestAccAWSVpcEndpoint_gatewayWithRouteTableAndPolicy
--- PASS: TestAccAWSRouteTable_Tags (56.00s)
=== CONT  TestAccAWSRoute_IPv4_To_VpcEndpoint
--- PASS: TestAccAWSVpcEndpoint_gatewayWithRouteTableAndPolicy (69.56s)
=== CONT  TestAccAWSVpcEndpoint_gatewayBasic
--- PASS: TestAccAWSVpcEndpoint_gatewayBasic (34.07s)
=== CONT  TestAccAWSVpcEndpointSubnetAssociation_multiple
--- PASS: TestAccAWSRoute_IPv4_To_VpcEndpoint (393.03s)
=== CONT  TestAccAWSRouteTable_IPv6_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRouteTable_IPv6_To_EgressOnlyInternetGateway (41.26s)
=== CONT  TestAccAWSVpcEndpointSubnetAssociation_disappears
--- PASS: TestAccAWSVpcEndpointSubnetAssociation_disappears (254.99s)
=== CONT  TestAccAWSRouteTable_IPv4_To_Instance
--- PASS: TestAccAWSVpcEndpointSubnetAssociation_multiple (599.73s)
=== CONT  TestAccAWSRouteTable_IPv4_To_InternetGateway
--- PASS: TestAccAWSRouteTable_IPv4_To_InternetGateway (69.13s)
=== CONT  TestAccAWSRouteTable_disappears_SubnetAssociation
--- PASS: TestAccAWSRouteTable_disappears_SubnetAssociation (26.40s)
=== CONT  TestAccAWSRouteTable_disappears
--- PASS: TestAccAWSRouteTable_IPv4_To_Instance (115.92s)
=== CONT  TestAccAWSRouteTable_basic
--- PASS: TestAccAWSRouteTable_disappears (20.81s)
=== CONT  TestAccAWSRouteTableAssociation_disappears
--- PASS: TestAccAWSRouteTable_basic (22.79s)
=== CONT  TestAccAWSDefaultRouteTable_VpcEndpointAssociation
--- PASS: TestAccAWSRouteTableAssociation_disappears (39.41s)
=== CONT  TestAccAWSVpcEndpointSubnetAssociation_basic
--- PASS: TestAccAWSDefaultRouteTable_VpcEndpointAssociation (41.08s)
=== CONT  TestAccAWSVpcEndpointRouteTableAssociation_disappears
--- PASS: TestAccAWSVpcEndpointRouteTableAssociation_disappears (36.11s)
=== CONT  TestAccAWSVpcEndpointRouteTableAssociation_basic
--- PASS: TestAccAWSVpcEndpointRouteTableAssociation_basic (37.53s)
=== CONT  TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway (34.85s)
=== CONT  TestAccAWSRoute_IPv6_Update_Target
--- PASS: TestAccAWSVpcEndpointSubnetAssociation_basic (311.14s)
=== CONT  TestAccAWSRoute_PrefixList_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_PrefixList_To_LocalGateway (1.06s)
=== CONT  TestAccAWSRoute_IPv4_Update_Target
--- PASS: TestAccAWSRoute_IPv6_Update_Target (245.37s)
=== CONT  TestAccAWSRoute_PrefixList_To_CarrierGateway
--- PASS: TestAccAWSRoute_PrefixList_To_CarrierGateway (36.41s)
=== CONT  TestAccAWSRoute_ConditionalCidrBlock
--- PASS: TestAccAWSRoute_ConditionalCidrBlock (57.83s)
=== CONT  TestAccAWSRoute_PrefixList_To_TransitGateway
--- PASS: TestAccAWSRoute_PrefixList_To_TransitGateway (363.40s)
=== CONT  TestAccAWSRoute_PrefixList_To_NatGateway
--- PASS: TestAccAWSRoute_IPv4_Update_Target (640.22s)
=== CONT  TestAccAWSRoute_IPv6_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv6_To_LocalGateway (0.65s)
=== CONT  TestAccAWSRoute_PrefixList_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_PrefixList_To_VpcPeeringConnection (35.55s)
=== CONT  TestAccAWSMainRouteTableAssociation_basic
--- PASS: TestAccAWSRoute_PrefixList_To_NatGateway (214.05s)
=== CONT  TestAccAWSDefaultRouteTable_RevokeExistingRules
--- PASS: TestAccAWSMainRouteTableAssociation_basic (61.52s)
=== CONT  TestAccAWSDefaultRouteTable_Tags
--- PASS: TestAccAWSDefaultRouteTable_Tags (53.37s)
=== CONT  TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable
--- PASS: TestAccAWSDefaultRouteTable_RevokeExistingRules (90.39s)
=== CONT  TestAccAWSRoute_PrefixList_To_VpnGateway
--- PASS: TestAccAWSRoute_PrefixList_To_VpnGateway (51.68s)
=== CONT  TestAccAWSRouteTableAssociation_Gateway_basic
--- PASS: TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable (91.50s)
=== CONT  TestAccAWSRoute_IPv4_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv4_To_LocalGateway (0.84s)
=== CONT  TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable
--- PASS: TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable (60.43s)
=== CONT  TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached
--- PASS: TestAccAWSRouteTableAssociation_Gateway_basic (70.91s)
=== CONT  TestAccAWSRoute_IPv4_To_CarrierGateway
--- PASS: TestAccAWSRoute_IPv4_To_CarrierGateway (26.42s)
=== CONT  TestAccAWSRoute_PrefixList_To_InternetGateway
--- PASS: TestAccAWSRoute_PrefixList_To_InternetGateway (37.59s)
=== CONT  TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached (64.58s)
=== CONT  TestAccAWSRoute_LocalRoute
--- PASS: TestAccAWSRoute_LocalRoute (22.65s)
=== CONT  TestAccAWSDefaultRouteTable_PrefixList_To_InternetGateway
--- PASS: TestAccAWSDefaultRouteTable_PrefixList_To_InternetGateway (57.10s)
=== CONT  TestAccAWSDefaultRouteTable_swap
--- PASS: TestAccAWSDefaultRouteTable_swap (92.86s)
=== CONT  TestAccAWSRoute_PrefixList_To_Instance
--- PASS: TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached (354.97s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (157.79s)
=== CONT  TestAccAWSDefaultRouteTable_IPv4_To_VpcEndpoint
--- PASS: TestAccAWSRoute_PrefixList_To_Instance (314.91s)
=== CONT  TestAccAWSRoute_IPv4_To_TransitGateway
--- PASS: TestAccAWSDefaultRouteTable_IPv4_To_VpcEndpoint (447.31s)
=== CONT  TestAccAWSDefaultRouteTable_IPv4_To_TransitGateway
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (414.71s)
=== CONT  TestAccAWSRoute_IPv4_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (27.55s)
=== CONT  TestAccAWSRoute_IPv6_To_TransitGateway
--- PASS: TestAccAWSDefaultRouteTable_IPv4_To_TransitGateway (351.30s)
=== CONT  TestAccAWSRoute_IPv4_To_NatGateway
--- PASS: TestAccAWSRoute_IPv6_To_TransitGateway (373.10s)
=== CONT  TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (45.26s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (212.48s)
=== CONT  TestAccAWSDefaultRouteTable_disappears_Vpc
--- PASS: TestAccAWSDefaultRouteTable_disappears_Vpc (14.63s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (61.04s)
=== CONT  TestAccAWSRoute_IPv4_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments (161.34s)
=== CONT  TestAccAWSRoute_IPv6_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (52.72s)
=== CONT  TestAccAWSDefaultRouteTable_Route_ConfigMode
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (61.87s)
=== CONT  TestAccAWSRoute_IPv6_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (28.14s)
=== CONT  TestAccAWSRoute_IPv4_To_Instance
--- PASS: TestAccAWSDefaultRouteTable_Route_ConfigMode (85.84s)
=== CONT  TestAccAWSDefaultRouteTable_ConditionalCidrBlock
--- PASS: TestAccAWSDefaultRouteTable_ConditionalCidrBlock (57.73s)
--- PASS: TestAccAWSRoute_IPv4_To_Instance (329.86s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	6303.755s

GovCloud

% make testacc TEST=./aws TESTARGS='-run=TestAccAWSDefaultRouteTable_\|TestAccAWSRouteTable_\|TestAccAWSVpcEndpoint_\|TestAccAWSVpcEndpointSubnetAssociation_\|TestAccAWSVpcEndpointRouteTableAssociation_\|TestAccAWSMainRouteTableAssociation_\|TestAccAWSRouteTableAssociation_\|TestAccAWSRoute_' ACCTEST_PARALLELISM=4
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 4 -run=TestAccAWSDefaultRouteTable_\|TestAccAWSRouteTable_\|TestAccAWSVpcEndpoint_\|TestAccAWSVpcEndpointSubnetAssociation_\|TestAccAWSVpcEndpointRouteTableAssociation_\|TestAccAWSMainRouteTableAssociation_\|TestAccAWSRouteTableAssociation_\|TestAccAWSRoute_ -timeout 180m
=== RUN   TestAccAWSDefaultRouteTable_basic
=== PAUSE TestAccAWSDefaultRouteTable_basic
=== RUN   TestAccAWSDefaultRouteTable_disappears_Vpc
=== PAUSE TestAccAWSDefaultRouteTable_disappears_Vpc
=== RUN   TestAccAWSDefaultRouteTable_Route_ConfigMode
=== PAUSE TestAccAWSDefaultRouteTable_Route_ConfigMode
=== RUN   TestAccAWSDefaultRouteTable_swap
=== PAUSE TestAccAWSDefaultRouteTable_swap
=== RUN   TestAccAWSDefaultRouteTable_IPv4_To_TransitGateway
=== PAUSE TestAccAWSDefaultRouteTable_IPv4_To_TransitGateway
=== RUN   TestAccAWSDefaultRouteTable_IPv4_To_VpcEndpoint
=== PAUSE TestAccAWSDefaultRouteTable_IPv4_To_VpcEndpoint
=== RUN   TestAccAWSDefaultRouteTable_VpcEndpointAssociation
=== PAUSE TestAccAWSDefaultRouteTable_VpcEndpointAssociation
=== RUN   TestAccAWSDefaultRouteTable_Tags
=== PAUSE TestAccAWSDefaultRouteTable_Tags
=== RUN   TestAccAWSDefaultRouteTable_ConditionalCidrBlock
=== PAUSE TestAccAWSDefaultRouteTable_ConditionalCidrBlock
=== RUN   TestAccAWSDefaultRouteTable_PrefixList_To_InternetGateway
=== PAUSE TestAccAWSDefaultRouteTable_PrefixList_To_InternetGateway
=== RUN   TestAccAWSDefaultRouteTable_RevokeExistingRules
=== PAUSE TestAccAWSDefaultRouteTable_RevokeExistingRules
=== RUN   TestAccAWSMainRouteTableAssociation_basic
=== PAUSE TestAccAWSMainRouteTableAssociation_basic
=== RUN   TestAccAWSRouteTableAssociation_Subnet_basic
=== PAUSE TestAccAWSRouteTableAssociation_Subnet_basic
=== RUN   TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable
=== PAUSE TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable
=== RUN   TestAccAWSRouteTableAssociation_Gateway_basic
=== PAUSE TestAccAWSRouteTableAssociation_Gateway_basic
=== RUN   TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable
=== PAUSE TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable
=== RUN   TestAccAWSRouteTableAssociation_disappears
=== PAUSE TestAccAWSRouteTableAssociation_disappears
=== RUN   TestAccAWSRouteTable_basic
=== PAUSE TestAccAWSRouteTable_basic
=== RUN   TestAccAWSRouteTable_disappears
=== PAUSE TestAccAWSRouteTable_disappears
=== RUN   TestAccAWSRouteTable_disappears_SubnetAssociation
=== PAUSE TestAccAWSRouteTable_disappears_SubnetAssociation
=== RUN   TestAccAWSRouteTable_IPv4_To_InternetGateway
=== PAUSE TestAccAWSRouteTable_IPv4_To_InternetGateway
=== RUN   TestAccAWSRouteTable_IPv4_To_Instance
=== PAUSE TestAccAWSRouteTable_IPv4_To_Instance
=== RUN   TestAccAWSRouteTable_IPv6_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRouteTable_IPv6_To_EgressOnlyInternetGateway
=== RUN   TestAccAWSRouteTable_Tags
=== PAUSE TestAccAWSRouteTable_Tags
=== RUN   TestAccAWSRouteTable_RequireRouteDestination
=== PAUSE TestAccAWSRouteTable_RequireRouteDestination
=== RUN   TestAccAWSRouteTable_RequireRouteTarget
=== PAUSE TestAccAWSRouteTable_RequireRouteTarget
=== RUN   TestAccAWSRouteTable_Route_ConfigMode
=== PAUSE TestAccAWSRouteTable_Route_ConfigMode
=== RUN   TestAccAWSRouteTable_IPv4_To_TransitGateway
=== PAUSE TestAccAWSRouteTable_IPv4_To_TransitGateway
=== RUN   TestAccAWSRouteTable_IPv4_To_VpcEndpoint
=== PAUSE TestAccAWSRouteTable_IPv4_To_VpcEndpoint
=== RUN   TestAccAWSRouteTable_IPv4_To_CarrierGateway
=== PAUSE TestAccAWSRouteTable_IPv4_To_CarrierGateway
=== RUN   TestAccAWSRouteTable_IPv4_To_LocalGateway
=== PAUSE TestAccAWSRouteTable_IPv4_To_LocalGateway
=== RUN   TestAccAWSRouteTable_IPv4_To_VpcPeeringConnection
=== PAUSE TestAccAWSRouteTable_IPv4_To_VpcPeeringConnection
=== RUN   TestAccAWSRouteTable_VgwRoutePropagation
=== PAUSE TestAccAWSRouteTable_VgwRoutePropagation
=== RUN   TestAccAWSRouteTable_ConditionalCidrBlock
=== PAUSE TestAccAWSRouteTable_ConditionalCidrBlock
=== RUN   TestAccAWSRouteTable_IPv4_To_NatGateway
=== PAUSE TestAccAWSRouteTable_IPv4_To_NatGateway
=== RUN   TestAccAWSRouteTable_IPv6_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRouteTable_IPv6_To_NetworkInterface_Unattached
=== RUN   TestAccAWSRouteTable_IPv4_To_NetworkInterfaces_Unattached
=== PAUSE TestAccAWSRouteTable_IPv4_To_NetworkInterfaces_Unattached
=== RUN   TestAccAWSRouteTable_VpcMultipleCidrs
=== PAUSE TestAccAWSRouteTable_VpcMultipleCidrs
=== RUN   TestAccAWSRouteTable_VpcClassicLink
=== PAUSE TestAccAWSRouteTable_VpcClassicLink
=== RUN   TestAccAWSRouteTable_GatewayVpcEndpoint
=== PAUSE TestAccAWSRouteTable_GatewayVpcEndpoint
=== RUN   TestAccAWSRouteTable_MultipleRoutes
=== PAUSE TestAccAWSRouteTable_MultipleRoutes
=== RUN   TestAccAWSRouteTable_PrefixList_To_InternetGateway
=== PAUSE TestAccAWSRouteTable_PrefixList_To_InternetGateway
=== RUN   TestAccAWSRoute_basic
=== PAUSE TestAccAWSRoute_basic
=== RUN   TestAccAWSRoute_disappears
=== PAUSE TestAccAWSRoute_disappears
=== RUN   TestAccAWSRoute_disappears_RouteTable
=== PAUSE TestAccAWSRoute_disappears_RouteTable
=== RUN   TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
=== RUN   TestAccAWSRoute_IPv6_To_InternetGateway
=== PAUSE TestAccAWSRoute_IPv6_To_InternetGateway
=== RUN   TestAccAWSRoute_IPv6_To_Instance
=== PAUSE TestAccAWSRoute_IPv6_To_Instance
=== RUN   TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== RUN   TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv6_To_VpcPeeringConnection
=== RUN   TestAccAWSRoute_IPv6_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv6_To_VpnGateway
=== RUN   TestAccAWSRoute_IPv4_To_VpnGateway
=== PAUSE TestAccAWSRoute_IPv4_To_VpnGateway
=== RUN   TestAccAWSRoute_IPv4_To_Instance
=== PAUSE TestAccAWSRoute_IPv4_To_Instance
=== RUN   TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
=== RUN   TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
=== RUN   TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments
=== PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments
=== RUN   TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_IPv4_To_VpcPeeringConnection
=== RUN   TestAccAWSRoute_IPv4_To_NatGateway
=== PAUSE TestAccAWSRoute_IPv4_To_NatGateway
=== RUN   TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== PAUSE TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
=== RUN   TestAccAWSRoute_IPv4_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv4_To_TransitGateway
=== RUN   TestAccAWSRoute_IPv6_To_TransitGateway
=== PAUSE TestAccAWSRoute_IPv6_To_TransitGateway
=== RUN   TestAccAWSRoute_IPv4_To_CarrierGateway
=== PAUSE TestAccAWSRoute_IPv4_To_CarrierGateway
=== RUN   TestAccAWSRoute_IPv4_To_LocalGateway
=== PAUSE TestAccAWSRoute_IPv4_To_LocalGateway
=== RUN   TestAccAWSRoute_IPv6_To_LocalGateway
=== PAUSE TestAccAWSRoute_IPv6_To_LocalGateway
=== RUN   TestAccAWSRoute_ConditionalCidrBlock
=== PAUSE TestAccAWSRoute_ConditionalCidrBlock
=== RUN   TestAccAWSRoute_IPv4_Update_Target
=== PAUSE TestAccAWSRoute_IPv4_Update_Target
=== RUN   TestAccAWSRoute_IPv6_Update_Target
=== PAUSE TestAccAWSRoute_IPv6_Update_Target
=== RUN   TestAccAWSRoute_IPv4_To_VpcEndpoint
=== PAUSE TestAccAWSRoute_IPv4_To_VpcEndpoint
=== RUN   TestAccAWSRoute_LocalRoute
=== PAUSE TestAccAWSRoute_LocalRoute
=== RUN   TestAccAWSRoute_PrefixList_To_InternetGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_InternetGateway
=== RUN   TestAccAWSRoute_PrefixList_To_VpnGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_VpnGateway
=== RUN   TestAccAWSRoute_PrefixList_To_Instance
=== PAUSE TestAccAWSRoute_PrefixList_To_Instance
=== RUN   TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached
=== PAUSE TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached
=== RUN   TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached
=== PAUSE TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached
=== RUN   TestAccAWSRoute_PrefixList_To_VpcPeeringConnection
=== PAUSE TestAccAWSRoute_PrefixList_To_VpcPeeringConnection
=== RUN   TestAccAWSRoute_PrefixList_To_NatGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_NatGateway
=== RUN   TestAccAWSRoute_PrefixList_To_TransitGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_TransitGateway
=== RUN   TestAccAWSRoute_PrefixList_To_CarrierGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_CarrierGateway
=== RUN   TestAccAWSRoute_PrefixList_To_LocalGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_LocalGateway
=== RUN   TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
=== RUN   TestAccAWSVpcEndpointRouteTableAssociation_basic
=== PAUSE TestAccAWSVpcEndpointRouteTableAssociation_basic
=== RUN   TestAccAWSVpcEndpointRouteTableAssociation_disappears
=== PAUSE TestAccAWSVpcEndpointRouteTableAssociation_disappears
=== RUN   TestAccAWSVpcEndpointSubnetAssociation_basic
=== PAUSE TestAccAWSVpcEndpointSubnetAssociation_basic
=== RUN   TestAccAWSVpcEndpointSubnetAssociation_disappears
=== PAUSE TestAccAWSVpcEndpointSubnetAssociation_disappears
=== RUN   TestAccAWSVpcEndpointSubnetAssociation_multiple
=== PAUSE TestAccAWSVpcEndpointSubnetAssociation_multiple
=== RUN   TestAccAWSVpcEndpoint_gatewayBasic
=== PAUSE TestAccAWSVpcEndpoint_gatewayBasic
=== RUN   TestAccAWSVpcEndpoint_gatewayWithRouteTableAndPolicy
=== PAUSE TestAccAWSVpcEndpoint_gatewayWithRouteTableAndPolicy
=== RUN   TestAccAWSVpcEndpoint_gatewayPolicy
=== PAUSE TestAccAWSVpcEndpoint_gatewayPolicy
=== RUN   TestAccAWSVpcEndpoint_interfaceBasic
=== PAUSE TestAccAWSVpcEndpoint_interfaceBasic
=== RUN   TestAccAWSVpcEndpoint_interfaceWithSubnetAndSecurityGroup
=== PAUSE TestAccAWSVpcEndpoint_interfaceWithSubnetAndSecurityGroup
=== RUN   TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnCreate
=== PAUSE TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnCreate
=== RUN   TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnUpdate
=== PAUSE TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnUpdate
=== RUN   TestAccAWSVpcEndpoint_disappears
=== PAUSE TestAccAWSVpcEndpoint_disappears
=== RUN   TestAccAWSVpcEndpoint_tags
=== PAUSE TestAccAWSVpcEndpoint_tags
=== RUN   TestAccAWSVpcEndpoint_VpcEndpointType_GatewayLoadBalancer
=== PAUSE TestAccAWSVpcEndpoint_VpcEndpointType_GatewayLoadBalancer
=== CONT  TestAccAWSDefaultRouteTable_basic
=== CONT  TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
=== CONT  TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached
=== CONT  TestAccAWSRoute_IPv6_To_TransitGateway
=== CONT  TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: fc30a1e3-0b9e-46f4-94f9-e140b728ac66
--- SKIP: TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached (2.88s)
=== CONT  TestAccAWSRoute_IPv4_To_TransitGateway
--- PASS: TestAccAWSDefaultRouteTable_basic (34.42s)
=== CONT  TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (67.76s)
=== CONT  TestAccAWSRoute_IPv4_To_NatGateway
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (49.03s)
=== CONT  TestAccAWSRoute_IPv4_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (31.56s)
=== CONT  TestAccAWSRouteTable_RequireRouteDestination
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (238.12s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (320.22s)
=== CONT  TestAccAWSRoute_IPv6_To_Instance
--- PASS: TestAccAWSRoute_IPv6_To_TransitGateway (323.29s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
--- PASS: TestAccAWSRouteTable_RequireRouteDestination (318.47s)
=== CONT  TestAccAWSRoute_IPv6_To_InternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_Instance (114.66s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments (143.10s)
=== CONT  TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (146.96s)
=== CONT  TestAccAWSRoute_IPv4_To_Instance
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (40.04s)
=== CONT  TestAccAWSRoute_disappears_RouteTable
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (45.39s)
=== CONT  TestAccAWSRoute_disappears
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (62.98s)
=== CONT  TestAccAWSRoute_basic
--- PASS: TestAccAWSRoute_disappears_RouteTable (37.34s)
=== CONT  TestAccAWSRoute_PrefixList_To_Instance
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: 4f3bd43c-e73d-49d8-b08c-477cb71d2ff8
--- SKIP: TestAccAWSRoute_PrefixList_To_Instance (0.36s)
=== CONT  TestAccAWSRouteTable_PrefixList_To_InternetGateway
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: be6c4ea1-9bb9-4790-92fd-5322ffc66de2
--- SKIP: TestAccAWSRouteTable_PrefixList_To_InternetGateway (0.36s)
=== CONT  TestAccAWSRoute_PrefixList_To_VpnGateway
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: 35c3f2f5-e47b-4df3-8225-ae03138e50d8
--- SKIP: TestAccAWSRoute_PrefixList_To_VpnGateway (0.36s)
=== CONT  TestAccAWSRouteTable_MultipleRoutes
--- PASS: TestAccAWSRoute_disappears (37.17s)
=== CONT  TestAccAWSRoute_PrefixList_To_InternetGateway
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: 05622e08-ccf6-4e5b-9d66-1c78245ea387
--- SKIP: TestAccAWSRoute_PrefixList_To_InternetGateway (0.38s)
=== CONT  TestAccAWSRouteTable_GatewayVpcEndpoint
--- PASS: TestAccAWSRoute_basic (40.99s)
=== CONT  TestAccAWSRoute_LocalRoute
--- PASS: TestAccAWSRoute_LocalRoute (25.68s)
=== CONT  TestAccAWSRouteTable_VpcClassicLink
    provider_test.go:1146: skipping test for aws-us-gov/us-gov-west-1: Error running apply: exit status 1
        2021/06/15 14:03:00 [DEBUG] Using modified User-Agent: Terraform/0.12.31 HashiCorp-terraform-exec/0.13.3
        
        Error: error enabling VPC (vpc-0ca9fe282c4b11015) ClassicLink: UnsupportedOperation: The functionality you requested is not available in this region.
        	status code: 400, request id: 8382aa54-6de2-4b10-b9a8-cda685e3bf74
        
          on terraform_plugin_test.tf line 2, in resource "aws_vpc" "test":
           2: resource "aws_vpc" "test" {
        
        
--- PASS: TestAccAWSRouteTable_GatewayVpcEndpoint (42.25s)
=== CONT  TestAccAWSRoute_IPv4_To_VpcEndpoint
    resource_aws_lb_test.go:1278: skipping acceptance testing: region does not support ELBv2 Gateway Load Balancers
--- SKIP: TestAccAWSRoute_IPv4_To_VpcEndpoint (0.51s)
=== CONT  TestAccAWSRouteTable_VpcMultipleCidrs
--- SKIP: TestAccAWSRouteTable_VpcClassicLink (7.29s)
=== CONT  TestAccAWSRoute_IPv6_Update_Target
--- PASS: TestAccAWSRoute_IPv4_To_Instance (112.98s)
=== CONT  TestAccAWSRouteTable_IPv4_To_NetworkInterfaces_Unattached
--- PASS: TestAccAWSRouteTable_VpcMultipleCidrs (49.21s)
=== CONT  TestAccAWSRouteTable_IPv4_To_CarrierGateway
    resource_aws_ec2_carrier_gateway_test.go:246: skipping since no Wavelength Zones are available
--- SKIP: TestAccAWSRouteTable_IPv4_To_CarrierGateway (0.42s)
=== CONT  TestAccAWSRoute_IPv4_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (69.76s)
=== CONT  TestAccAWSRoute_IPv6_To_VpnGateway
--- PASS: TestAccAWSRouteTable_MultipleRoutes (159.33s)
=== CONT  TestAccAWSRoute_IPv4_Update_Target
    resource_aws_lb_test.go:1278: skipping acceptance testing: region does not support ELBv2 Gateway Load Balancers
--- SKIP: TestAccAWSRoute_IPv4_Update_Target (0.47s)
=== CONT  TestAccAWSRoute_IPv6_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (41.87s)
=== CONT  TestAccAWSRoute_ConditionalCidrBlock
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (32.94s)
=== CONT  TestAccAWSRouteTable_IPv4_To_VpcEndpoint
    resource_aws_lb_test.go:1278: skipping acceptance testing: region does not support ELBv2 Gateway Load Balancers
--- SKIP: TestAccAWSRouteTable_IPv4_To_VpcEndpoint (0.44s)
=== CONT  TestAccAWSRouteTable_Route_ConfigMode
--- PASS: TestAccAWSRouteTable_IPv4_To_NetworkInterfaces_Unattached (140.40s)
=== CONT  TestAccAWSRouteTable_IPv4_To_TransitGateway
--- PASS: TestAccAWSRoute_ConditionalCidrBlock (65.54s)
=== CONT  TestAccAWSVpcEndpointSubnetAssociation_multiple
--- PASS: TestAccAWSRouteTable_Route_ConfigMode (85.74s)
=== CONT  TestAccAWSRoute_IPv6_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv6_To_LocalGateway (0.90s)
=== CONT  TestAccAWSRouteTable_IPv4_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSRouteTable_IPv4_To_LocalGateway (0.68s)
=== CONT  TestAccAWSRoute_IPv4_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:67: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv4_To_LocalGateway (0.62s)
=== CONT  TestAccAWSRoute_IPv4_To_CarrierGateway
    resource_aws_ec2_carrier_gateway_test.go:246: skipping since no Wavelength Zones are available
--- SKIP: TestAccAWSRoute_IPv4_To_CarrierGateway (0.38s)
=== CONT  TestAccAWSRouteTable_IPv6_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv6_Update_Target (265.36s)
=== CONT  TestAccAWSRouteTable_IPv4_To_NatGateway
--- PASS: TestAccAWSRouteTable_IPv6_To_NetworkInterface_Unattached (63.42s)
=== CONT  TestAccAWSVpcEndpoint_VpcEndpointType_GatewayLoadBalancer
    resource_aws_lb_test.go:1278: skipping acceptance testing: region does not support ELBv2 Gateway Load Balancers
--- SKIP: TestAccAWSVpcEndpoint_VpcEndpointType_GatewayLoadBalancer (0.45s)
=== CONT  TestAccAWSRouteTableAssociation_Subnet_basic
--- PASS: TestAccAWSRouteTableAssociation_Subnet_basic (44.12s)
=== CONT  TestAccAWSRouteTable_Tags
--- PASS: TestAccAWSRouteTable_Tags (62.81s)
=== CONT  TestAccAWSRouteTable_IPv6_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRouteTable_IPv6_To_EgressOnlyInternetGateway (45.54s)
=== CONT  TestAccAWSRouteTable_IPv4_To_Instance
--- PASS: TestAccAWSRouteTable_IPv4_To_NatGateway (203.83s)
=== CONT  TestAccAWSRouteTable_IPv4_To_InternetGateway
--- PASS: TestAccAWSRouteTable_IPv4_To_TransitGateway (324.21s)
=== CONT  TestAccAWSRouteTable_RequireRouteTarget
--- PASS: TestAccAWSRouteTable_RequireRouteTarget (13.90s)
=== CONT  TestAccAWSDefaultRouteTable_VpcEndpointAssociation
--- PASS: TestAccAWSDefaultRouteTable_VpcEndpointAssociation (43.66s)
=== CONT  TestAccAWSVpcEndpoint_tags
--- PASS: TestAccAWSRouteTable_IPv4_To_InternetGateway (65.16s)
=== CONT  TestAccAWSRouteTable_disappears_SubnetAssociation
--- PASS: TestAccAWSRouteTable_IPv4_To_Instance (115.37s)
=== CONT  TestAccAWSVpcEndpoint_disappears
--- PASS: TestAccAWSRouteTable_disappears_SubnetAssociation (29.41s)
=== CONT  TestAccAWSRouteTable_disappears
--- PASS: TestAccAWSVpcEndpoint_disappears (34.69s)
=== CONT  TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnUpdate
--- PASS: TestAccAWSRouteTable_disappears (23.27s)
=== CONT  TestAccAWSRouteTable_basic
--- PASS: TestAccAWSVpcEndpoint_tags (80.35s)
=== CONT  TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnCreate
--- PASS: TestAccAWSRouteTable_basic (25.82s)
=== CONT  TestAccAWSRouteTableAssociation_disappears
--- PASS: TestAccAWSRouteTableAssociation_disappears (41.16s)
=== CONT  TestAccAWSVpcEndpoint_interfaceWithSubnetAndSecurityGroup
--- PASS: TestAccAWSVpcEndpointSubnetAssociation_multiple (540.09s)
=== CONT  TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable
--- PASS: TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable (98.67s)
=== CONT  TestAccAWSVpcEndpoint_interfaceBasic
--- PASS: TestAccAWSVpcEndpoint_interfaceBasic (59.88s)
=== CONT  TestAccAWSRouteTableAssociation_Gateway_basic
--- PASS: TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnCreate (270.55s)
=== CONT  TestAccAWSMainRouteTableAssociation_basic
--- PASS: TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnUpdate (307.04s)
=== CONT  TestAccAWSDefaultRouteTable_RevokeExistingRules
--- PASS: TestAccAWSRouteTableAssociation_Gateway_basic (74.44s)
=== CONT  TestAccAWSRouteTable_VgwRoutePropagation
--- PASS: TestAccAWSMainRouteTableAssociation_basic (66.15s)
=== CONT  TestAccAWSDefaultRouteTable_PrefixList_To_InternetGateway
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: 8221b4a9-f50e-4b7d-a833-a77c3358c1ba
--- SKIP: TestAccAWSDefaultRouteTable_PrefixList_To_InternetGateway (0.35s)
=== CONT  TestAccAWSVpcEndpoint_gatewayPolicy
--- PASS: TestAccAWSDefaultRouteTable_RevokeExistingRules (104.02s)
=== CONT  TestAccAWSVpcEndpoint_gatewayWithRouteTableAndPolicy
--- PASS: TestAccAWSVpcEndpoint_gatewayPolicy (64.68s)
=== CONT  TestAccAWSVpcEndpoint_gatewayBasic
--- PASS: TestAccAWSVpcEndpoint_interfaceWithSubnetAndSecurityGroup (359.06s)
=== CONT  TestAccAWSDefaultRouteTable_Tags
--- PASS: TestAccAWSRouteTable_VgwRoutePropagation (84.00s)
=== CONT  TestAccAWSRouteTable_IPv4_To_VpcPeeringConnection
--- PASS: TestAccAWSVpcEndpoint_gatewayBasic (38.40s)
=== CONT  TestAccAWSDefaultRouteTable_swap
--- PASS: TestAccAWSRouteTable_IPv4_To_VpcPeeringConnection (32.69s)
=== CONT  TestAccAWSRoute_PrefixList_To_LocalGateway
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: 42eb6526-9c2c-427b-bb77-749f0378f811
--- SKIP: TestAccAWSRoute_PrefixList_To_LocalGateway (0.38s)
=== CONT  TestAccAWSDefaultRouteTable_ConditionalCidrBlock
--- PASS: TestAccAWSVpcEndpoint_gatewayWithRouteTableAndPolicy (76.77s)
=== CONT  TestAccAWSVpcEndpointRouteTableAssociation_disappears
--- PASS: TestAccAWSDefaultRouteTable_Tags (63.11s)
=== CONT  TestAccAWSVpcEndpointSubnetAssociation_basic
--- PASS: TestAccAWSVpcEndpointSubnetAssociation_basic (270.39s)
=== CONT  TestAccAWSDefaultRouteTable_IPv4_To_VpcEndpoint
    resource_aws_lb_test.go:1278: skipping acceptance testing: region does not support ELBv2 Gateway Load Balancers
--- SKIP: TestAccAWSDefaultRouteTable_IPv4_To_VpcEndpoint (0.52s)
=== CONT  TestAccAWSRouteTable_ConditionalCidrBlock
--- PASS: TestAccAWSDefaultRouteTable_ConditionalCidrBlock (63.60s)
=== CONT  TestAccAWSVpcEndpointRouteTableAssociation_basic
--- PASS: TestAccAWSVpcEndpointRouteTableAssociation_disappears (47.54s)
=== CONT  TestAccAWSVpcEndpointSubnetAssociation_disappears
--- PASS: TestAccAWSDefaultRouteTable_swap (102.50s)
=== CONT  TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: 2c27ef0f-0e4b-4e8f-8b65-e06e37384bae
--- SKIP: TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway (0.36s)
=== CONT  TestAccAWSRoute_PrefixList_To_CarrierGateway
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: 9da36a20-8b78-4591-a410-915530a3d1c9
--- SKIP: TestAccAWSRoute_PrefixList_To_CarrierGateway (0.37s)
=== CONT  TestAccAWSRoute_PrefixList_To_NatGateway
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: 09bee905-dec8-468b-ba5d-f65f1bc38c75
--- SKIP: TestAccAWSRoute_PrefixList_To_NatGateway (0.37s)
=== CONT  TestAccAWSDefaultRouteTable_IPv4_To_TransitGateway
--- PASS: TestAccAWSRouteTable_ConditionalCidrBlock (64.93s)
=== CONT  TestAccAWSRoute_PrefixList_To_TransitGateway
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: b9f4f4c6-bc03-4f7f-8cbf-ec1320644523
--- SKIP: TestAccAWSRoute_PrefixList_To_TransitGateway (0.38s)
=== CONT  TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: 2a2fe007-7634-4719-b4c2-78c82c70dcd8
--- SKIP: TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached (0.42s)
=== CONT  TestAccAWSDefaultRouteTable_disappears_Vpc
--- PASS: TestAccAWSVpcEndpointRouteTableAssociation_basic (42.33s)
=== CONT  TestAccAWSRoute_PrefixList_To_VpcPeeringConnection
    resource_aws_ec2_managed_prefix_list_test.go:358: skipping acceptance testing: InvalidAction: The action DescribeManagedPrefixLists is not valid for this web service.
        	status code: 400, request id: 3e0f8dc0-0c38-46cb-bc90-c8a079714ac9
--- SKIP: TestAccAWSRoute_PrefixList_To_VpcPeeringConnection (0.36s)
=== CONT  TestAccAWSDefaultRouteTable_Route_ConfigMode
--- PASS: TestAccAWSDefaultRouteTable_disappears_Vpc (16.97s)
=== CONT  TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable
--- PASS: TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable (65.37s)
--- PASS: TestAccAWSDefaultRouteTable_Route_ConfigMode (90.05s)
--- PASS: TestAccAWSVpcEndpointSubnetAssociation_disappears (220.89s)
--- PASS: TestAccAWSDefaultRouteTable_IPv4_To_TransitGateway (357.40s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	2089.924s

@alewando alewando requested a review from a team as a code owner May 18, 2021 17:53
@ghost ghost added size/XS Managed by automation to categorize the size of a PR. service/ec2 Issues and PRs that pertain to the ec2 service. labels May 18, 2021
@alewando alewando changed the title [WIP] aws_route_table: Wrap reading of route table in retries aws_route_table: Wrap reading of route table in retries May 18, 2021
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label May 18, 2021
@ewbankkit
Copy link
Contributor

ewbankkit commented May 20, 2021

@alewando Thanks for the contribution 👏.
I am (slowly) looking at a solution for #19133 and this change looks key.
I will incorporate this PR.

@ewbankkit ewbankkit added bug Addresses a defect in current functionality. and removed needs-triage Waiting for first response or review from a maintainer. labels May 20, 2021
@ewbankkit ewbankkit self-assigned this May 20, 2021
ewbankkit added 21 commits June 15, 2021 10:23
…estroy functions.

Acceptance test output:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_basic\|TestAccAWSRoute_disappears\|TestAccAWSDefaultRouteTable_basic\|TestAccAWSDefaultRouteTable_disappears\|TestAccAWSRouteTableAssociation_Subnet_basic\|TestAccAWSRouteTableAssociation_disappears' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_basic\|TestAccAWSRoute_disappears\|TestAccAWSDefaultRouteTable_basic\|TestAccAWSDefaultRouteTable_disappears\|TestAccAWSRouteTableAssociation_Subnet_basic\|TestAccAWSRouteTableAssociation_disappears -timeout 180m
=== RUN   TestAccAWSDefaultRouteTable_basic
=== PAUSE TestAccAWSDefaultRouteTable_basic
=== RUN   TestAccAWSDefaultRouteTable_disappears_Vpc
=== PAUSE TestAccAWSDefaultRouteTable_disappears_Vpc
=== RUN   TestAccAWSRouteTableAssociation_Subnet_basic
=== PAUSE TestAccAWSRouteTableAssociation_Subnet_basic
=== RUN   TestAccAWSRouteTableAssociation_disappears
=== PAUSE TestAccAWSRouteTableAssociation_disappears
=== RUN   TestAccAWSRoute_basic
=== PAUSE TestAccAWSRoute_basic
=== RUN   TestAccAWSRoute_disappears
=== PAUSE TestAccAWSRoute_disappears
=== RUN   TestAccAWSRoute_disappears_RouteTable
=== PAUSE TestAccAWSRoute_disappears_RouteTable
=== CONT  TestAccAWSDefaultRouteTable_basic
=== CONT  TestAccAWSRoute_basic
--- PASS: TestAccAWSDefaultRouteTable_basic (28.58s)
=== CONT  TestAccAWSRoute_disappears_RouteTable
--- PASS: TestAccAWSRoute_basic (36.75s)
=== CONT  TestAccAWSRoute_disappears
--- PASS: TestAccAWSRoute_disappears_RouteTable (33.95s)
=== CONT  TestAccAWSRouteTableAssociation_Subnet_basic
--- PASS: TestAccAWSRoute_disappears (33.06s)
=== CONT  TestAccAWSRouteTableAssociation_disappears
--- PASS: TestAccAWSRouteTableAssociation_Subnet_basic (39.37s)
=== CONT  TestAccAWSDefaultRouteTable_disappears_Vpc
--- PASS: TestAccAWSRouteTableAssociation_disappears (36.32s)
--- PASS: TestAccAWSDefaultRouteTable_disappears_Vpc (14.72s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	116.707s
… 'canonicalCidrBlock' and 'cidrBlocksEqual'.
Acceptance test output:

% make testacc TEST=./aws TESTARGS='-run=TestAccAWSRouteTableAssociation_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSRouteTableAssociation_ -timeout 180m
=== RUN   TestAccAWSRouteTableAssociation_Subnet_basic
=== PAUSE TestAccAWSRouteTableAssociation_Subnet_basic
=== RUN   TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable
=== PAUSE TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable
=== RUN   TestAccAWSRouteTableAssociation_Gateway_basic
=== PAUSE TestAccAWSRouteTableAssociation_Gateway_basic
=== RUN   TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable
=== PAUSE TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable
=== RUN   TestAccAWSRouteTableAssociation_disappears
=== PAUSE TestAccAWSRouteTableAssociation_disappears
=== CONT  TestAccAWSRouteTableAssociation_Subnet_basic
=== CONT  TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable
=== CONT  TestAccAWSRouteTableAssociation_disappears
=== CONT  TestAccAWSRouteTableAssociation_Gateway_basic
=== CONT  TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable
--- PASS: TestAccAWSRouteTableAssociation_disappears (41.23s)
--- PASS: TestAccAWSRouteTableAssociation_Subnet_basic (43.44s)
--- PASS: TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable (64.12s)
--- PASS: TestAccAWSRouteTableAssociation_Gateway_basic (74.27s)
--- PASS: TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable (94.98s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	98.235s
Acceptance test output:

% make testacc TEST=./aws TESTARGS='-run=TestAccAWSMainRouteTableAssociation_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSMainRouteTableAssociation_ -timeout 180m
=== RUN   TestAccAWSMainRouteTableAssociation_basic
=== PAUSE TestAccAWSMainRouteTableAssociation_basic
=== CONT  TestAccAWSMainRouteTableAssociation_basic
--- PASS: TestAccAWSMainRouteTableAssociation_basic (61.64s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	65.154s
Test 'tfresource.RetryUntilFound'.
Acceptance test output:

% make testacc TEST=./aws TESTARGS='-run=TestAccAWSVpcEndpointRouteTableAssociation_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSVpcEndpointRouteTableAssociation_ -timeout 180m
=== RUN   TestAccAWSVpcEndpointRouteTableAssociation_basic
=== PAUSE TestAccAWSVpcEndpointRouteTableAssociation_basic
=== RUN   TestAccAWSVpcEndpointRouteTableAssociation_disappears
=== PAUSE TestAccAWSVpcEndpointRouteTableAssociation_disappears
=== CONT  TestAccAWSVpcEndpointRouteTableAssociation_basic
=== CONT  TestAccAWSVpcEndpointRouteTableAssociation_disappears
--- PASS: TestAccAWSVpcEndpointRouteTableAssociation_disappears (39.13s)
--- PASS: TestAccAWSVpcEndpointRouteTableAssociation_basic (41.03s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	44.118s
Acceptance test output:

% make testacc TEST=./aws TESTARGS='-run=TestAccAWSVpcEndpoint_interfaceBasic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSVpcEndpoint_interfaceBasic -timeout 180m
=== RUN   TestAccAWSVpcEndpoint_interfaceBasic
=== PAUSE TestAccAWSVpcEndpoint_interfaceBasic
=== CONT  TestAccAWSVpcEndpoint_interfaceBasic
--- PASS: TestAccAWSVpcEndpoint_interfaceBasic (141.62s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	145.881s
@ewbankkit ewbankkit force-pushed the route-table-read-retry branch from 10533f4 to 8f8a267 Compare June 15, 2021 20:35
@github-actions github-actions bot added service/wafv2 Issues and PRs that pertain to the wafv2 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. size/XL Managed by automation to categorize the size of a PR. and removed size/XS Managed by automation to categorize the size of a PR. labels Jun 15, 2021
@ewbankkit ewbankkit changed the title aws_route_table: Wrap reading of route table in retries aws_route(_table): Wrap CRUD operations on route tables and routes in retries Jun 15, 2021
@ewbankkit ewbankkit removed the service/wafv2 Issues and PRs that pertain to the wafv2 service. label Jun 15, 2021
@github-actions github-actions bot added the service/wafv2 Issues and PRs that pertain to the wafv2 service. label Jun 15, 2021
@ewbankkit ewbankkit removed the service/wafv2 Issues and PRs that pertain to the wafv2 service. label Jun 15, 2021
Acceptance test output:

% go test -v ./aws/internal/net
=== RUN   TestCIDRBlocksEqual
--- PASS: TestCIDRBlocksEqual (0.00s)
=== RUN   TestCanonicalCIDRBlock
--- PASS: TestCanonicalCIDRBlock (0.00s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws/internal/net	0.687s
@github-actions github-actions bot added the service/wafv2 Issues and PRs that pertain to the wafv2 service. label Jun 15, 2021
@ewbankkit ewbankkit removed the service/wafv2 Issues and PRs that pertain to the wafv2 service. label Jun 15, 2021
Copy link
Contributor

@ewbankkit ewbankkit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 🚀.

--- SKIP: TestAccAWSRouteDataSource_LocalGatewayID (1.07s)
--- PASS: TestAccAWSRouteDataSource_IPv6DestinationCidr (37.22s)
--- PASS: TestAccAWSRouteDataSource_CarrierGatewayID (42.01s)
--- PASS: TestAccAWSDefaultRouteTable_disappears_Vpc (22.62s)
--- PASS: TestAccAWSRouteDataSource_GatewayVpcEndpoint (72.08s)
--- PASS: TestAccAWSDefaultRouteTable_basic (38.14s)
--- PASS: TestAccAWSDefaultRouteTable_Tags (68.95s)
--- PASS: TestAccAWSDefaultRouteTable_Route_ConfigMode (104.56s)
--- PASS: TestAccAWSRouteDataSource_basic (147.52s)
--- PASS: TestAccAWSDefaultRouteTable_ConditionalCidrBlock (64.23s)
--- PASS: TestAccAWSDefaultRouteTable_VpcEndpointAssociation (89.44s)
--- PASS: TestAccAWSDefaultRouteTable_swap (109.36s)
--- PASS: TestAccAWSDefaultRouteTable_PrefixList_To_InternetGateway (85.21s)
--- PASS: TestAccAWSMainRouteTableAssociation_basic (72.12s)
--- PASS: TestAccAWSRouteDataSource_DestinationPrefixListId (215.41s)
--- PASS: TestAccAWSDefaultRouteTable_RevokeExistingRules (123.37s)
--- PASS: TestAccAWSDefaultRouteTable_IPv4_To_TransitGateway (342.00s)
--- PASS: TestAccAWSDefaultRouteTable_IPv4_To_VpcEndpoint (333.52s)
--- PASS: TestAccAWSRouteDataSource_TransitGatewayID (431.60s)
--- PASS: TestAccAWSRouteTableAssociation_Subnet_basic (43.75s)
--- PASS: TestAccAWSRouteTable_disappears (31.34s)
--- PASS: TestAccAWSRouteTable_basic (36.57s)
--- PASS: TestAccAWSRouteTable_disappears_SubnetAssociation (33.18s)
--- PASS: TestAccAWSRouteTableAssociation_Subnet_ChangeRouteTable (63.93s)
--- PASS: TestAccAWSRouteTableAssociation_disappears (47.88s)
--- PASS: TestAccAWSRouteTable_RequireRouteTarget (25.61s)
--- SKIP: TestAccAWSRouteTable_IPv4_To_LocalGateway (1.38s)
--- PASS: TestAccAWSRouteTableAssociation_Gateway_basic (89.07s)
--- PASS: TestAccAWSRouteTable_IPv6_To_EgressOnlyInternetGateway (69.96s)
--- PASS: TestAccAWSRouteTable_IPv4_To_InternetGateway (86.44s)
--- PASS: TestAccAWSRouteTableAssociation_Gateway_ChangeRouteTable (114.30s)
--- PASS: TestAccAWSRouteTable_IPv4_To_CarrierGateway (43.89s)
--- PASS: TestAccAWSRouteTable_IPv4_To_VpcPeeringConnection (35.02s)
--- PASS: TestAccAWSRouteTable_Tags (93.41s)
--- PASS: TestAccAWSRouteTable_VpcClassicLink (28.84s)
--- PASS: TestAccAWSRouteTable_ConditionalCidrBlock (64.95s)
--- PASS: TestAccAWSRouteTable_Route_ConfigMode (107.22s)
--- PASS: TestAccAWSRouteTable_IPv6_To_NetworkInterface_Unattached (57.36s)
--- PASS: TestAccAWSRouteTable_GatewayVpcEndpoint (37.06s)
--- PASS: TestAccAWSRouteTable_VpcMultipleCidrs (46.35s)
--- PASS: TestAccAWSRouteTable_IPv4_To_Instance (136.32s)
--- PASS: TestAccAWSRouteTable_PrefixList_To_InternetGateway (36.30s)
--- PASS: TestAccAWSRouteTable_VgwRoutePropagation (102.33s)
--- PASS: TestAccAWSRoute_basic (43.41s)
--- PASS: TestAccAWSRoute_disappears (42.53s)
--- PASS: TestAccAWSRoute_disappears_RouteTable (44.91s)
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (39.55s)
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (50.01s)
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (54.78s)
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (75.00s)
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (36.19s)
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (74.42s)
--- SKIP: TestAccAWSRoute_IPv4_To_LocalGateway (1.07s)
--- SKIP: TestAccAWSRoute_IPv6_To_LocalGateway (0.94s)
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (63.19s)
--- PASS: TestAccAWSRouteTable_IPv4_To_NetworkInterfaces_Unattached (145.30s)
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (52.46s)
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (98.79s)
--- PASS: TestAccAWSRoute_IPv4_To_CarrierGateway (30.25s)
--- PASS: TestAccAWSRoute_LocalRoute (21.96s)
--- PASS: TestAccAWSRoute_IPv4_To_Instance (106.08s)
--- PASS: TestAccAWSRoute_ConditionalCidrBlock (51.28s)
--- PASS: TestAccAWSRouteTable_IPv4_To_NatGateway (204.15s)
--- PASS: TestAccAWSRouteTable_MultipleRoutes (188.84s)
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments (124.09s)
--- PASS: TestAccAWSRoute_PrefixList_To_VpnGateway (51.83s)
--- PASS: TestAccAWSRoute_PrefixList_To_InternetGateway (58.88s)
--- SKIP: TestAccAWSRoute_PrefixList_To_LocalGateway (1.23s)
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (140.24s)
--- PASS: TestAccAWSRoute_PrefixList_To_VpcPeeringConnection (27.18s)
--- PASS: TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached (60.23s)
--- PASS: TestAccAWSRoute_PrefixList_To_CarrierGateway (30.43s)
--- PASS: TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway (28.71s)
--- PASS: TestAccAWSRouteTable_RequireRouteDestination (312.32s)
--- PASS: TestAccAWSVpcEndpointRouteTableAssociation_basic (39.79s)
--- PASS: TestAccAWSVpcEndpointRouteTableAssociation_disappears (27.93s)
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (187.01s)
--- PASS: TestAccAWSRoute_IPv6_Update_Target (176.93s)
--- PASS: TestAccAWSRouteTable_IPv4_To_VpcEndpoint (379.06s)
--- PASS: TestAccAWSRouteTable_IPv4_To_TransitGateway (397.62s)
--- PASS: TestAccAWSRoute_IPv6_To_Instance (338.34s)
--- PASS: TestAccAWSRoute_PrefixList_To_NatGateway (202.83s)
--- PASS: TestAccAWSRoute_IPv4_To_VpcEndpoint (256.37s)
--- PASS: TestAccAWSVpcEndpoint_gatewayBasic (25.71s)
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (353.62s)
--- PASS: TestAccAWSVpcEndpoint_gatewayPolicy (50.30s)
--- PASS: TestAccAWSVpcEndpoint_gatewayWithRouteTableAndPolicy (55.47s)
--- PASS: TestAccAWSRoute_PrefixList_To_Instance (301.94s)
--- PASS: TestAccAWSVpcEndpointService_GatewayLoadBalancerArns (219.21s)
--- PASS: TestAccAWSVpcEndpoint_interfaceBasic (74.35s)
--- PASS: TestAccAWSVpcEndpointService_basic (249.60s)
--- PASS: TestAccAWSVpcEndpointServiceAllowedPrincipal_basic (263.99s)
--- PASS: TestAccAWSVpcEndpoint_disappears (29.31s)
--- PASS: TestAccAWSVpcEndpointService_AllowedPrincipals (269.86s)
--- PASS: TestAccAWSRoute_IPv6_To_TransitGateway (389.68s)
--- PASS: TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached (342.75s)
--- PASS: TestAccAWSVpcEndpoint_tags (52.19s)
--- PASS: TestAccAWSVpcEndpointService_tags (280.96s)
--- PASS: TestAccAWSVpcEndpointService_private_dns_name (271.32s)
--- PASS: TestAccAWSVpcEndpointConnectionNotification_basic (354.73s)
--- PASS: TestAccAWSRoute_PrefixList_To_TransitGateway (367.84s)
--- PASS: TestAccAWSVpcEndpointSubnetAssociation_basic (254.91s)
--- PASS: TestAccAWSVpcEndpointSubnetAssociation_disappears (258.64s)
--- PASS: TestAccAWSVpcEndpointService_disappears (359.86s)
--- PASS: TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnCreate (259.69s)
--- PASS: TestAccAWSVpcEndpoint_VpcEndpointType_GatewayLoadBalancer (260.98s)
--- PASS: TestAccAWSVpcEndpoint_interfaceNonAWSServiceAcceptOnUpdate (289.50s)
--- PASS: TestAccAWSRoute_IPv4_Update_Target (614.71s)
--- PASS: TestAccAWSVpcEndpoint_interfaceWithSubnetAndSecurityGroup (377.67s)
--- PASS: TestAccAWSVpcEndpointSubnetAssociation_multiple (606.25s)

@ewbankkit ewbankkit merged commit 3e31593 into hashicorp:main Jun 18, 2021
@github-actions github-actions bot added this to the v3.47.0 milestone Jun 18, 2021
@github-actions
Copy link

This functionality has been released in v3.47.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!

@github-actions
Copy link

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.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 25, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Addresses a defect in current functionality. service/ec2 Issues and PRs that pertain to the ec2 service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
2 participants