r/aws_appmesh_route: Allow empty 'match' for 'grpc_route'#16867
Conversation
Acceptance test output:
$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSAppmesh/Route/grpcRoute'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppmesh/Route/grpcRoute -timeout 120m
=== RUN TestAccAWSAppmesh_serial
=== RUN TestAccAWSAppmesh_serial/VirtualRouter
=== RUN TestAccAWSAppmesh_serial/GatewayRoute
=== RUN TestAccAWSAppmesh_serial/GatewayRoute/grpcRoute
=== RUN TestAccAWSAppmesh_serial/Route
=== RUN TestAccAWSAppmesh_serial/Route/grpcRoute
=== RUN TestAccAWSAppmesh_serial/Route/grpcRouteEmptyMatch
=== RUN TestAccAWSAppmesh_serial/Route/grpcRouteTimeout
--- PASS: TestAccAWSAppmesh_serial (131.91s)
--- PASS: TestAccAWSAppmesh_serial/VirtualRouter (0.00s)
--- PASS: TestAccAWSAppmesh_serial/GatewayRoute (32.18s)
--- PASS: TestAccAWSAppmesh_serial/GatewayRoute/grpcRoute (32.18s)
--- PASS: TestAccAWSAppmesh_serial/Route (99.73s)
--- PASS: TestAccAWSAppmesh_serial/Route/grpcRoute (47.54s)
--- PASS: TestAccAWSAppmesh_serial/Route/grpcRouteEmptyMatch (18.53s)
--- PASS: TestAccAWSAppmesh_serial/Route/grpcRouteTimeout (33.66s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 132.036s
| Optional: true, | ||
| Type: schema.TypeString, | ||
| Optional: true, | ||
| RequiredWith: []string{"spec.0.grpc_route.0.match.0.method_name"}, |
There was a problem hiding this comment.
From the API reference:
The method name to match from the request. If you specify a name, you must also specify a
serviceName.
DrFaust92
left a comment
There was a problem hiding this comment.
--- PASS: TestAccAWSAppmesh_serial (339.38s)
--- PASS: TestAccAWSAppmesh_serial/Route (258.43s)
--- PASS: TestAccAWSAppmesh_serial/Route/grpcRouteEmptyMatch (50.15s)
--- PASS: TestAccAWSAppmesh_serial/Route/grpcRouteTimeout (81.05s)
--- PASS: TestAccAWSAppmesh_serial/Route/grpcRoute (127.23s)
--- PASS: TestAccAWSAppmesh_serial/VirtualRouter (0.00s)
--- PASS: TestAccAWSAppmesh_serial/GatewayRoute (80.95s)
--- PASS: TestAccAWSAppmesh_serial/GatewayRoute/grpcRoute (80.95s)
PASS
|
LGTM 🚀 Thanks @ewbankkit! Verified Acceptance Tests in Commercial (us-west-2) make testacc TEST=./aws TESTARGS='-run=TestAccAWSAppmesh/Route/grpcRoute'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAppmesh/Route/grpcRoute -timeout 120m
=== RUN TestAccAWSAppmesh_serial
=== RUN TestAccAWSAppmesh_serial/Route
=== RUN TestAccAWSAppmesh_serial/Route/grpcRoute
=== RUN TestAccAWSAppmesh_serial/Route/grpcRouteTimeout
=== RUN TestAccAWSAppmesh_serial/VirtualRouter
=== RUN TestAccAWSAppmesh_serial/GatewayRoute
=== RUN TestAccAWSAppmesh_serial/GatewayRoute/grpcRoute
--- PASS: TestAccAWSAppmesh_serial (89.07s)
--- PASS: TestAccAWSAppmesh_serial/Route (62.28s)
--- PASS: TestAccAWSAppmesh_serial/Route/grpcRoute (37.60s)
--- PASS: TestAccAWSAppmesh_serial/Route/grpcRouteTimeout (24.68s)
--- PASS: TestAccAWSAppmesh_serial/VirtualRouter (0.00s)
--- PASS: TestAccAWSAppmesh_serial/GatewayRoute (26.79s)
--- PASS: TestAccAWSAppmesh_serial/GatewayRoute/grpcRoute (26.79s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 90.959s |
|
This has been released in version 3.24.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 for triage. Thanks! |
|
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 #16816.
Release note for CHANGELOG:
Output from acceptance testing: