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

r/aws_route: 'destination_prefix_list_id' attribute can be specified for managed prefix list destinations #17275

Conversation

ewbankkit
Copy link
Contributor

@ewbankkit ewbankkit commented Jan 25, 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

Relates: #15273.

Builds on #14014 and #16930.

Output from acceptance testing:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_PrefixList_To_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_PrefixList_To_ -timeout 120m
=== 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_LocalGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_LocalGateway
=== RUN   TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
=== CONT  TestAccAWSRoute_PrefixList_To_InternetGateway
=== CONT  TestAccAWSRoute_PrefixList_To_NatGateway
--- PASS: TestAccAWSRoute_PrefixList_To_InternetGateway (35.99s)
=== CONT  TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway (32.09s)
=== CONT  TestAccAWSRoute_PrefixList_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_PrefixList_To_LocalGateway (1.13s)
=== CONT  TestAccAWSRoute_PrefixList_To_TransitGateway
--- PASS: TestAccAWSRoute_PrefixList_To_NatGateway (200.00s)
=== CONT  TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached (65.18s)
=== CONT  TestAccAWSRoute_PrefixList_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_PrefixList_To_VpcPeeringConnection (33.28s)
=== CONT  TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached
--- PASS: TestAccAWSRoute_PrefixList_To_TransitGateway (368.99s)
=== CONT  TestAccAWSRoute_PrefixList_To_Instance
--- PASS: TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached (350.96s)
=== CONT  TestAccAWSRoute_PrefixList_To_VpnGateway
--- PASS: TestAccAWSRoute_PrefixList_To_VpnGateway (47.82s)
--- PASS: TestAccAWSRoute_PrefixList_To_Instance (327.05s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	765.354s

Acceptance test output:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_ -timeout 120m
=== 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_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
=== CONT  TestAccAWSRoute_basic
=== CONT  TestAccAWSRoute_IPv4_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (27.43s)
=== CONT  TestAccAWSRoute_LocalRoute
--- PASS: TestAccAWSRoute_basic (36.72s)
=== CONT  TestAccAWSRoute_IPv4_To_VpcEndpoint
--- PASS: TestAccAWSRoute_LocalRoute (21.98s)
=== CONT  TestAccAWSRoute_IPv6_Update_Target
--- PASS: TestAccAWSRoute_IPv6_Update_Target (226.03s)
=== CONT  TestAccAWSRoute_IPv4_Update_Target
--- PASS: TestAccAWSRoute_IPv4_To_VpcEndpoint (273.71s)
=== CONT  TestAccAWSRoute_ConditionalCidrBlock
=== CONT  TestAccAWSRoute_IPv6_To_LocalGateway
--- PASS: TestAccAWSRoute_ConditionalCidrBlock (51.91s)
=== CONT  TestAccAWSRoute_IPv6_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv6_To_LocalGateway (1.28s)
=== CONT  TestAccAWSRoute_IPv4_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv4_To_LocalGateway (1.10s)
=== CONT  TestAccAWSRoute_IPv6_To_TransitGateway
--- PASS: TestAccAWSRoute_IPv6_To_TransitGateway (357.84s)
=== CONT  TestAccAWSRoute_IPv4_To_TransitGateway
--- PASS: TestAccAWSRoute_IPv4_Update_Target (626.78s)
=== CONT  TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (43.28s)
=== CONT  TestAccAWSRoute_IPv4_To_NatGateway
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (399.08s)
=== CONT  TestAccAWSRoute_IPv6_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (25.57s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (228.62s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments (190.46s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (57.67s)
=== CONT  TestAccAWSRoute_IPv4_To_Instance
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (340.04s)
=== CONT  TestAccAWSRoute_IPv4_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (35.60s)
=== CONT  TestAccAWSRoute_IPv6_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (41.86s)
=== CONT  TestAccAWSRoute_IPv6_To_InternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (34.47s)
=== CONT  TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (58.80s)
=== CONT  TestAccAWSRoute_IPv6_To_Instance
--- PASS: TestAccAWSRoute_IPv4_To_Instance (326.97s)
=== CONT  TestAccAWSRoute_disappears_RouteTable
--- PASS: TestAccAWSRoute_disappears_RouteTable (33.05s)
=== CONT  TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (37.46s)
=== CONT  TestAccAWSRoute_disappears
--- PASS: TestAccAWSRoute_disappears (31.77s)
--- PASS: TestAccAWSRoute_IPv6_To_Instance (327.89s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	2012.898s
…und (hashicorp#15945).

r/aws_route: Implement 'd.IsNewResource()' checksin 'resourceAwsRouteRead' (hashicorp#16796).

Acceptance test output:

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSRoute_basic\|TestAccAWSRoute_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 -timeout 120m
=== RUN   TestAccAWSRoute_basic
=== PAUSE TestAccAWSRoute_basic
=== RUN   TestAccAWSRoute_disappears
=== PAUSE TestAccAWSRoute_disappears
=== RUN   TestAccAWSRoute_disappears_RouteTable
=== PAUSE TestAccAWSRoute_disappears_RouteTable
=== CONT  TestAccAWSRoute_basic
=== CONT  TestAccAWSRoute_disappears_RouteTable
--- PASS: TestAccAWSRoute_disappears_RouteTable (34.67s)
=== CONT  TestAccAWSRoute_disappears
--- PASS: TestAccAWSRoute_basic (36.39s)
--- PASS: TestAccAWSRoute_disappears (31.85s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	66.620s
…pport data source returning multiple route tables.

Acceptance test output:

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSRoute_basic\|TestAccAWSRoute_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 -timeout 120m
=== RUN   TestAccAWSRoute_basic
=== PAUSE TestAccAWSRoute_basic
=== RUN   TestAccAWSRoute_disappears
=== PAUSE TestAccAWSRoute_disappears
=== RUN   TestAccAWSRoute_disappears_RouteTable
=== PAUSE TestAccAWSRoute_disappears_RouteTable
=== CONT  TestAccAWSRoute_basic
=== CONT  TestAccAWSRoute_disappears_RouteTable
--- PASS: TestAccAWSRoute_disappears_RouteTable (33.82s)
=== CONT  TestAccAWSRoute_disappears
--- PASS: TestAccAWSRoute_basic (35.39s)
--- PASS: TestAccAWSRoute_disappears (31.99s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	65.901s
…s' to support data source returning multiple route tables."

This reverts commit 5b93284.
Acceptance test output:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_ -timeout 120m
=== 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_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
=== CONT  TestAccAWSRoute_basic
=== CONT  TestAccAWSRoute_IPv4_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (27.59s)
=== CONT  TestAccAWSRoute_LocalRoute
--- PASS: TestAccAWSRoute_basic (36.97s)
=== CONT  TestAccAWSRoute_IPv4_To_VpcEndpoint
--- PASS: TestAccAWSRoute_LocalRoute (22.34s)
=== CONT  TestAccAWSRoute_IPv6_Update_Target
=== CONT  TestAccAWSRoute_IPv4_To_VpcEndpoint
    resource_aws_route_test.go:1305: Step 1/2 error: Error running apply: 2021/01/24 16:28:27 [DEBUG] Using modified User-Agent: Terraform/0.12.26 HashiCorp-terraform-exec/0.12.0

        Error: error waiting for VPC Endpoint (vpce-0467b8bc3339b49d3) to become available: VPC Endpoint is in a failed state

--- FAIL: TestAccAWSRoute_IPv4_To_VpcEndpoint (117.58s)
=== CONT  TestAccAWSRoute_IPv4_Update_Target
--- PASS: TestAccAWSRoute_IPv6_Update_Target (240.69s)
=== CONT  TestAccAWSRoute_ConditionalCidrBlock
=== CONT  TestAccAWSRoute_IPv4_Update_Target
    resource_aws_route_test.go:961: Step 1/9 error: Error running apply: 2021/01/24 16:30:26 [DEBUG] Using modified User-Agent: Terraform/0.12.26 HashiCorp-terraform-exec/0.12.0

        Error: error waiting for VPC Endpoint (vpce-00b5c230eaa0bb041) to become available: VPC Endpoint is in a failed state

--- PASS: TestAccAWSRoute_ConditionalCidrBlock (53.83s)
=== CONT  TestAccAWSRoute_IPv6_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv6_To_LocalGateway (1.20s)
=== CONT  TestAccAWSRoute_IPv4_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_IPv4_To_LocalGateway (1.09s)
=== CONT  TestAccAWSRoute_IPv6_To_TransitGateway
--- FAIL: TestAccAWSRoute_IPv4_Update_Target (293.81s)
=== CONT  TestAccAWSRoute_IPv4_To_TransitGateway
--- PASS: TestAccAWSRoute_IPv6_To_TransitGateway (398.85s)
=== CONT  TestAccAWSRoute_DoesNotCrashWithVpcEndpoint
--- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (43.25s)
=== CONT  TestAccAWSRoute_IPv4_To_NatGateway
--- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (357.85s)
=== CONT  TestAccAWSRoute_IPv6_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (25.91s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments
--- PASS: TestAccAWSRoute_IPv4_To_NatGateway (198.68s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_Attached
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments (188.15s)
=== CONT  TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Unattached (58.13s)
=== CONT  TestAccAWSRoute_IPv4_To_Instance
--- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (350.41s)
=== CONT  TestAccAWSRoute_IPv4_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (55.38s)
=== CONT  TestAccAWSRoute_IPv6_To_VpnGateway
--- PASS: TestAccAWSRoute_IPv4_To_Instance (326.27s)
=== CONT  TestAccAWSRoute_IPv6_To_InternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (41.21s)
=== CONT  TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (35.53s)
=== CONT  TestAccAWSRoute_IPv6_To_Instance
--- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface_Unattached (58.52s)
=== CONT  TestAccAWSRoute_disappears_RouteTable
--- PASS: TestAccAWSRoute_disappears_RouteTable (33.04s)
=== CONT  TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (37.15s)
=== CONT  TestAccAWSRoute_disappears
--- PASS: TestAccAWSRoute_disappears (32.57s)
--- PASS: TestAccAWSRoute_IPv6_To_Instance (349.57s)
FAIL
FAIL	github.com/terraform-providers/terraform-provider-aws/aws	1789.890s
FAIL
GNUmakefile:27: recipe for target 'testacc' failed
make: *** [testacc] Error 1

Failures are unrelated to this change.
…for managed prefix list destinations.

Acceptance test output:

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSRoute_basic'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSRoute_basic -timeout 120m
=== RUN   TestAccAWSRoute_basic
=== PAUSE TestAccAWSRoute_basic
=== CONT  TestAccAWSRoute_basic
--- PASS: TestAccAWSRoute_basic (35.53s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	35.619s
@ewbankkit ewbankkit requested a review from a team as a code owner January 25, 2021 14:24
@ghost ghost added size/XXL Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/ec2 Issues and PRs that pertain to the ec2 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Jan 25, 2021
Acceptance test output:

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSRoute_PrefixList_To_InternetGateway'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSRoute_PrefixList_To_InternetGateway -timeout 120m
=== RUN   TestAccAWSRoute_PrefixList_To_InternetGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_InternetGateway
=== CONT  TestAccAWSRoute_PrefixList_To_InternetGateway
--- PASS: TestAccAWSRoute_PrefixList_To_InternetGateway (36.06s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	36.149s
Acceptance test output:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_PrefixList_To_' ACCTEST_PARALLELISM=2
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_PrefixList_To_ -timeout 120m
=== 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_LocalGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_LocalGateway
=== RUN   TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
=== PAUSE TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
=== CONT  TestAccAWSRoute_PrefixList_To_InternetGateway
=== CONT  TestAccAWSRoute_PrefixList_To_NatGateway
--- PASS: TestAccAWSRoute_PrefixList_To_InternetGateway (35.99s)
=== CONT  TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway
--- PASS: TestAccAWSRoute_PrefixList_To_EgressOnlyInternetGateway (32.09s)
=== CONT  TestAccAWSRoute_PrefixList_To_LocalGateway
    data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts found
--- SKIP: TestAccAWSRoute_PrefixList_To_LocalGateway (1.13s)
=== CONT  TestAccAWSRoute_PrefixList_To_TransitGateway
--- PASS: TestAccAWSRoute_PrefixList_To_NatGateway (200.00s)
=== CONT  TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached
--- PASS: TestAccAWSRoute_PrefixList_To_NetworkInterface_Unattached (65.18s)
=== CONT  TestAccAWSRoute_PrefixList_To_VpcPeeringConnection
--- PASS: TestAccAWSRoute_PrefixList_To_VpcPeeringConnection (33.28s)
=== CONT  TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached
--- PASS: TestAccAWSRoute_PrefixList_To_TransitGateway (368.99s)
=== CONT  TestAccAWSRoute_PrefixList_To_Instance
--- PASS: TestAccAWSRoute_PrefixList_To_NetworkInterface_Attached (350.96s)
=== CONT  TestAccAWSRoute_PrefixList_To_VpnGateway
--- PASS: TestAccAWSRoute_PrefixList_To_VpnGateway (47.82s)
--- PASS: TestAccAWSRoute_PrefixList_To_Instance (327.05s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	765.354s
@ewbankkit ewbankkit changed the title [WIP] r/aws_route: 'destination_prefix_list_id' attribute can be specified for managed prefix list destinations r/aws_route: 'destination_prefix_list_id' attribute can be specified for managed prefix list destinations Jan 25, 2021
@ewbankkit
Copy link
Contributor Author

Replaced by #17291.

@ewbankkit ewbankkit closed this Jan 26, 2021
@ewbankkit ewbankkit deleted the f-r/aws_route_table-managed_prefix_list-destination branch January 26, 2021 20:21
@ghost
Copy link

ghost commented Feb 26, 2021

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked as resolved and limited conversation to collaborators Feb 26, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. service/ec2 Issues and PRs that pertain to the ec2 service. size/XXL 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
Development

Successfully merging this pull request may close these issues.

1 participant