-
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
[WIP] r/aws_route: Correctly handle update of route target #15049
[WIP] r/aws_route: Correctly handle update of route target #15049
Conversation
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 (53.08s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 53.129s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_disappears' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_disappears -timeout 120m === RUN TestAccAWSRoute_disappears === PAUSE TestAccAWSRoute_disappears === CONT TestAccAWSRoute_disappears --- PASS: TestAccAWSRoute_disappears (49.64s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 49.690s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_changeCidr' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_changeCidr -timeout 120m === RUN TestAccAWSRoute_changeCidr === PAUSE TestAccAWSRoute_changeCidr === CONT TestAccAWSRoute_changeCidr --- PASS: TestAccAWSRoute_changeCidr (77.60s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 77.646s
…_ipv6ToEgressOnlyInternetGateway'. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_ipv6ToEgressOnlyInternetGateway' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_ipv6ToEgressOnlyInternetGateway -timeout 120m === RUN TestAccAWSRoute_ipv6ToEgressOnlyInternetGateway === PAUSE TestAccAWSRoute_ipv6ToEgressOnlyInternetGateway === CONT TestAccAWSRoute_ipv6ToEgressOnlyInternetGateway --- PASS: TestAccAWSRoute_ipv6ToEgressOnlyInternetGateway (61.15s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 61.206s $ 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 (52.29s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 52.339s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_changeCidr' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_changeCidr -timeout 120m === RUN TestAccAWSRoute_changeCidr === PAUSE TestAccAWSRoute_changeCidr === CONT TestAccAWSRoute_changeCidr --- PASS: TestAccAWSRoute_changeCidr (78.93s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 79.529s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_doesNotCrashWithVPCEndpoint' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_doesNotCrashWithVPCEndpoint -timeout 120m === RUN TestAccAWSRoute_doesNotCrashWithVPCEndpoint === PAUSE TestAccAWSRoute_doesNotCrashWithVPCEndpoint === CONT TestAccAWSRoute_doesNotCrashWithVPCEndpoint --- PASS: TestAccAWSRoute_doesNotCrashWithVPCEndpoint (62.84s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 62.882s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_ipv6ToInternetGateway' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_ipv6ToInternetGateway -timeout 120m === RUN TestAccAWSRoute_ipv6ToInternetGateway === PAUSE TestAccAWSRoute_ipv6ToInternetGateway === CONT TestAccAWSRoute_ipv6ToInternetGateway --- PASS: TestAccAWSRoute_ipv6ToInternetGateway (51.99s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 52.050s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_ipv6ToInstance' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_ipv6ToInstance -timeout 120m === RUN TestAccAWSRoute_ipv6ToInstance === PAUSE TestAccAWSRoute_ipv6ToInstance === CONT TestAccAWSRoute_ipv6ToInstance --- PASS: TestAccAWSRoute_ipv6ToInstance (111.03s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 111.103s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_ipv6ToNetworkInterface' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_ipv6ToNetworkInterface -timeout 120m === RUN TestAccAWSRoute_ipv6ToNetworkInterface === PAUSE TestAccAWSRoute_ipv6ToNetworkInterface === CONT TestAccAWSRoute_ipv6ToNetworkInterface --- PASS: TestAccAWSRoute_ipv6ToNetworkInterface (47.92s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 47.969s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_ipv6ToVpcPeeringConnection' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_ipv6ToVpcPeeringConnection -timeout 120m === RUN TestAccAWSRoute_ipv6ToVpcPeeringConnection === PAUSE TestAccAWSRoute_ipv6ToVpcPeeringConnection === CONT TestAccAWSRoute_ipv6ToVpcPeeringConnection --- PASS: TestAccAWSRoute_ipv6ToVpcPeeringConnection (44.00s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 44.054s
…rBlock' and rename tests. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_' ==> 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_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 === PAUSE TestAccAWSRoute_IPv6_To_NetworkInterface === RUN TestAccAWSRoute_IPv6_To_VpcPeeringConnection === PAUSE TestAccAWSRoute_IPv6_To_VpcPeeringConnection === RUN TestAccAWSRoute_IPv4_To_InternetGateway === PAUSE TestAccAWSRoute_IPv4_To_InternetGateway === RUN TestAccAWSRoute_DoesNotCrashWithVpcEndpoint === PAUSE TestAccAWSRoute_DoesNotCrashWithVpcEndpoint === RUN TestAccAWSRoute_IPv4_To_TransitGateway === PAUSE TestAccAWSRoute_IPv4_To_TransitGateway === RUN TestAccAWSRoute_ConditionalCidrBlock === PAUSE TestAccAWSRoute_ConditionalCidrBlock === CONT TestAccAWSRoute_basic === CONT TestAccAWSRoute_IPv6_To_VpcPeeringConnection --- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (42.94s) === CONT TestAccAWSRoute_ConditionalCidrBlock --- PASS: TestAccAWSRoute_basic (51.95s) === CONT TestAccAWSRoute_IPv4_To_TransitGateway --- PASS: TestAccAWSRoute_ConditionalCidrBlock (76.30s) === CONT TestAccAWSRoute_DoesNotCrashWithVpcEndpoint --- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (61.41s) === CONT TestAccAWSRoute_IPv4_To_InternetGateway --- PASS: TestAccAWSRoute_IPv4_To_InternetGateway (76.58s) === CONT TestAccAWSRoute_IPv6_To_InternetGateway --- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (53.22s) === CONT TestAccAWSRoute_IPv6_To_NetworkInterface --- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface (47.85s) === CONT TestAccAWSRoute_IPv6_To_Instance --- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (315.51s) === CONT TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway --- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (59.04s) === CONT TestAccAWSRoute_disappears --- PASS: TestAccAWSRoute_disappears (47.96s) --- PASS: TestAccAWSRoute_IPv6_To_Instance (129.66s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 488.049s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv4_To_Instance' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_IPv4_To_Instance -timeout 120m === RUN TestAccAWSRoute_IPv4_To_Instance === PAUSE TestAccAWSRoute_IPv4_To_Instance === CONT TestAccAWSRoute_IPv4_To_Instance --- PASS: TestAccAWSRoute_IPv4_To_Instance (87.65s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 87.699s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv4_To_NetworkInterface' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_IPv4_To_NetworkInterface -timeout 120m === RUN TestAccAWSRoute_IPv4_To_NetworkInterface === PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface === CONT TestAccAWSRoute_IPv4_To_NetworkInterface --- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface (47.04s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 47.100s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv4_To_VpcPeeringConnection' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_IPv4_To_VpcPeeringConnection -timeout 120m === RUN TestAccAWSRoute_IPv4_To_VpcPeeringConnection === PAUSE TestAccAWSRoute_IPv4_To_VpcPeeringConnection === CONT TestAccAWSRoute_IPv4_To_VpcPeeringConnection --- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (42.88s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 42.928s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv4_To_NatGateway' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_IPv4_To_NatGateway -timeout 120m === RUN TestAccAWSRoute_IPv4_To_NatGateway === PAUSE TestAccAWSRoute_IPv4_To_NatGateway === CONT TestAccAWSRoute_IPv4_To_NatGateway --- PASS: TestAccAWSRoute_IPv4_To_NatGateway (195.61s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 195.647s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 1 -run=TestAccAWSRoute_ -timeout 120m === RUN TestAccAWSRoute_basic === PAUSE TestAccAWSRoute_basic === RUN TestAccAWSRoute_disappears === PAUSE TestAccAWSRoute_disappears === 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 === PAUSE TestAccAWSRoute_IPv6_To_NetworkInterface === RUN TestAccAWSRoute_IPv6_To_VpcPeeringConnection === PAUSE TestAccAWSRoute_IPv6_To_VpcPeeringConnection === RUN TestAccAWSRoute_IPv4_To_InternetGateway === PAUSE TestAccAWSRoute_IPv4_To_InternetGateway === RUN TestAccAWSRoute_IPv4_To_Instance === PAUSE TestAccAWSRoute_IPv4_To_Instance === RUN TestAccAWSRoute_IPv4_To_NetworkInterface === PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface === 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_ConditionalCidrBlock === PAUSE TestAccAWSRoute_ConditionalCidrBlock === CONT TestAccAWSRoute_basic --- PASS: TestAccAWSRoute_basic (52.44s) === CONT TestAccAWSRoute_ConditionalCidrBlock --- PASS: TestAccAWSRoute_ConditionalCidrBlock (76.36s) === CONT TestAccAWSRoute_IPv4_To_TransitGateway --- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (358.76s) === CONT TestAccAWSRoute_DoesNotCrashWithVpcEndpoint --- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (62.15s) === CONT TestAccAWSRoute_IPv4_To_NatGateway --- PASS: TestAccAWSRoute_IPv4_To_NatGateway (195.36s) === CONT TestAccAWSRoute_IPv4_To_VpcPeeringConnection --- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (43.17s) === CONT TestAccAWSRoute_IPv4_To_NetworkInterface --- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface (46.84s) === CONT TestAccAWSRoute_IPv4_To_Instance --- PASS: TestAccAWSRoute_IPv4_To_Instance (120.01s) === CONT TestAccAWSRoute_IPv4_To_InternetGateway --- PASS: TestAccAWSRoute_IPv4_To_InternetGateway (77.57s) === CONT TestAccAWSRoute_IPv6_To_VpcPeeringConnection --- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (42.36s) === CONT TestAccAWSRoute_IPv6_To_NetworkInterface --- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface (48.01s) === CONT TestAccAWSRoute_IPv6_To_Instance --- PASS: TestAccAWSRoute_IPv6_To_Instance (119.62s) === CONT TestAccAWSRoute_IPv6_To_InternetGateway --- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (51.75s) === CONT TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway --- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (58.58s) === CONT TestAccAWSRoute_disappears --- PASS: TestAccAWSRoute_disappears (47.56s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 1400.609s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv4_To_VpnGateway' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_IPv4_To_VpnGateway -timeout 120m === RUN TestAccAWSRoute_IPv4_To_VpnGateway === PAUSE TestAccAWSRoute_IPv4_To_VpnGateway === CONT TestAccAWSRoute_IPv4_To_VpnGateway --- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (63.35s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 63.423s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv6_To_VpnGateway' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_IPv6_To_VpnGateway -timeout 120m === RUN TestAccAWSRoute_IPv6_To_VpnGateway === PAUSE TestAccAWSRoute_IPv6_To_VpnGateway === CONT TestAccAWSRoute_IPv6_To_VpnGateway --- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (56.25s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 56.281s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_' ==> 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_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 === PAUSE TestAccAWSRoute_IPv6_To_NetworkInterface === 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 === PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface === 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_ConditionalCidrBlock === PAUSE TestAccAWSRoute_ConditionalCidrBlock === CONT TestAccAWSRoute_basic === CONT TestAccAWSRoute_IPv4_To_Instance --- PASS: TestAccAWSRoute_basic (52.59s) === CONT TestAccAWSRoute_ConditionalCidrBlock --- PASS: TestAccAWSRoute_ConditionalCidrBlock (76.45s) === CONT TestAccAWSRoute_IPv4_To_TransitGateway --- PASS: TestAccAWSRoute_IPv4_To_Instance (129.99s) === CONT TestAccAWSRoute_DoesNotCrashWithVpcEndpoint --- PASS: TestAccAWSRoute_DoesNotCrashWithVpcEndpoint (63.26s) === CONT TestAccAWSRoute_IPv4_To_NatGateway --- PASS: TestAccAWSRoute_IPv4_To_NatGateway (205.43s) === CONT TestAccAWSRoute_IPv4_To_VpcPeeringConnection --- PASS: TestAccAWSRoute_IPv4_To_VpcPeeringConnection (43.54s) === CONT TestAccAWSRoute_IPv4_To_NetworkInterface --- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface (33.36s) === CONT TestAccAWSRoute_IPv6_To_NetworkInterface --- PASS: TestAccAWSRoute_IPv4_To_TransitGateway (347.29s) === CONT TestAccAWSRoute_IPv4_To_VpnGateway --- PASS: TestAccAWSRoute_IPv6_To_NetworkInterface (33.84s) === CONT TestAccAWSRoute_IPv6_To_VpnGateway --- PASS: TestAccAWSRoute_IPv4_To_VpnGateway (55.26s) === CONT TestAccAWSRoute_IPv6_To_VpcPeeringConnection --- PASS: TestAccAWSRoute_IPv6_To_VpnGateway (62.51s) === CONT TestAccAWSRoute_IPv6_To_InternetGateway --- PASS: TestAccAWSRoute_IPv6_To_VpcPeeringConnection (42.95s) === CONT TestAccAWSRoute_IPv6_To_Instance --- PASS: TestAccAWSRoute_IPv6_To_InternetGateway (52.13s) === CONT TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway --- PASS: TestAccAWSRoute_IPv6_To_EgressOnlyInternetGateway (59.35s) === CONT TestAccAWSRoute_disappears --- PASS: TestAccAWSRoute_IPv6_To_Instance (119.68s) --- PASS: TestAccAWSRoute_disappears (48.50s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 731.979s
…RouteTableNumberOfRoutes'.
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_routeTableDisappears' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_routeTableDisappears -timeout 120m === RUN TestAccAWSRoute_routeTableDisappears === PAUSE TestAccAWSRoute_routeTableDisappears === CONT TestAccAWSRoute_routeTableDisappears --- PASS: TestAccAWSRoute_routeTableDisappears (48.84s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 48.910s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_ConditionalCidrBlock' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_ConditionalCidrBlock -timeout 120m === RUN TestAccAWSRoute_ConditionalCidrBlock === PAUSE TestAccAWSRoute_ConditionalCidrBlock === CONT TestAccAWSRoute_ConditionalCidrBlock --- PASS: TestAccAWSRoute_ConditionalCidrBlock (76.68s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 76.752s
…to test route to ENI attached to an instance. Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv4_To_NetworkInterface_Attached' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_IPv4_To_NetworkInterface_Attached -timeout 120m === RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Attached === PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Attached === CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Attached --- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (113.54s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 113.607s
…ents' to test route to 2 ENIs attached to the same instance (hashicorp#2270). Acceptance test output (failure expected): $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments -timeout 120m === RUN TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments === PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments === CONT TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments --- FAIL: TestAccAWSRoute_IPv4_To_NetworkInterface_TwoAttachments (127.29s) testing.go:684: Step 1 error: errors during apply: Error: InvalidInstanceID: There are multiple interfaces attached to instance 'i-005065eb4850f01a4'. Please specify an interface ID for the operation instead. status code: 400, request id: f601a6af-729a-4830-835b-be8887b0c3ee on /tmp/tf-test358593801/main.tf line 98: (source code not available) FAIL FAIL github.com/terraform-providers/terraform-provider-aws/aws 127.347s FAIL GNUmakefile:26: recipe for target 'testacc' failed make: *** [testacc] Error 1
…rface_TwoAttachments'.
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv6_To_Instance' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_IPv6_To_Instance -timeout 120m === RUN TestAccAWSRoute_IPv6_To_Instance === PAUSE TestAccAWSRoute_IPv6_To_Instance === CONT TestAccAWSRoute_IPv6_To_Instance --- PASS: TestAccAWSRoute_IPv6_To_Instance (128.20s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 128.262s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv4_To_Instance' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_IPv4_To_Instance -timeout 120m === RUN TestAccAWSRoute_IPv4_To_Instance === PAUSE TestAccAWSRoute_IPv4_To_Instance === CONT TestAccAWSRoute_IPv4_To_Instance --- PASS: TestAccAWSRoute_IPv4_To_Instance (116.72s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 116.766s $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv4_To_NetworkInterface_Attached' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws/ -v -count 1 -parallel 20 -run=TestAccAWSRoute_IPv4_To_NetworkInterface_Attached -timeout 120m === RUN TestAccAWSRoute_IPv4_To_NetworkInterface_Attached === PAUSE TestAccAWSRoute_IPv4_To_NetworkInterface_Attached === CONT TestAccAWSRoute_IPv4_To_NetworkInterface_Attached --- PASS: TestAccAWSRoute_IPv4_To_NetworkInterface_Attached (330.31s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 330.352s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv6_To_TransitGateway' ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_IPv6_To_TransitGateway -timeout 120m === RUN TestAccAWSRoute_IPv6_To_TransitGateway === PAUSE TestAccAWSRoute_IPv6_To_TransitGateway === CONT TestAccAWSRoute_IPv6_To_TransitGateway --- PASS: TestAccAWSRoute_IPv6_To_TransitGateway (352.10s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 352.141s
Acceptance test output: $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRoute_IPv6_To_LocalGateway' ACCTEST_PARALLELISM=2 ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 2 -run=TestAccAWSRoute_IPv6_To_LocalGateway -timeout 120m === RUN TestAccAWSRoute_IPv6_To_LocalGateway === PAUSE TestAccAWSRoute_IPv6_To_LocalGateway === CONT TestAccAWSRoute_IPv6_To_LocalGateway data_source_aws_outposts_outposts_test.go:66: skipping since no Outposts Outpost found --- SKIP: TestAccAWSRoute_IPv6_To_LocalGateway (2.13s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 2.185s
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 (51.48s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 51.542s
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 (40.57s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 40.615s $ AWS_DEFAULT_REGION=us-east-2 make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSRouteDataSource_basic' ==> Checking that code complies with gofmt requirements... TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSRouteDataSource_basic -timeout 120m === RUN TestAccAWSRouteDataSource_basic === PAUSE TestAccAWSRouteDataSource_basic === CONT TestAccAWSRouteDataSource_basic --- PASS: TestAccAWSRouteDataSource_basic (82.16s) PASS ok github.com/terraform-providers/terraform-provider-aws/aws 82.202s
… to shared with route table resources.
…id' are not Computed.
…hich should be usable from route table resources.
…d 'map[string]interface{}' when reading attributes.
Based on #14014 with:
|
return fmt.Errorf("error updating Route for Route Table (%s) with destination (%s): %s", routeTableID, destination, err) | ||
} | ||
|
||
return resourceAwsRouteRead(d, meta) |
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.
Read after Update.
@@ -202,3 +204,16 @@ func getRoutes(table *ec2.RouteTable, d *schema.ResourceData) []*ec2.Route { | |||
} | |||
return routes | |||
} | |||
|
|||
// Helper: Create an ID for a route | |||
func resourceAwsRouteID(d *schema.ResourceData, r *ec2.Route) string { |
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.
Moved here temporarily. Will need to clean up when support for managed prefix list IDs added.
5122c05
to
275b329
Compare
…arget attributes aren't specified.
Replaced by #15723. |
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! |
Community Note
Closes #684.
Closes #2270.
Closes #11455.
Closes #12631.
Closes #13302.
Closes #13079.
Closes #14995.
Replaces #14050, #14531 and #14796.
Uses additional tests cases from #14014.
Includes functionality from #12062.
I will address some similar problems for the
aws_route_table
(andaws_default_route_table
) resources in a separate PR.Release note for CHANGELOG:
Output from acceptance testing: