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 apigatewayv2 route: Add request_parameters attribute #18410

Conversation

ewbankkit
Copy link
Contributor

@ewbankkit ewbankkit commented Mar 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

Closes #18387.

Output from acceptance testing:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSAPIGatewayV2Route_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAPIGatewayV2Route_ -timeout 180m
=== RUN   TestAccAWSAPIGatewayV2Route_basic
=== PAUSE TestAccAWSAPIGatewayV2Route_basic
=== RUN   TestAccAWSAPIGatewayV2Route_disappears
=== PAUSE TestAccAWSAPIGatewayV2Route_disappears
=== RUN   TestAccAWSAPIGatewayV2Route_Authorizer
=== PAUSE TestAccAWSAPIGatewayV2Route_Authorizer
=== RUN   TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== PAUSE TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== RUN   TestAccAWSAPIGatewayV2Route_Model
=== PAUSE TestAccAWSAPIGatewayV2Route_Model
=== RUN   TestAccAWSAPIGatewayV2Route_RequestParameters
=== PAUSE TestAccAWSAPIGatewayV2Route_RequestParameters
=== RUN   TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== PAUSE TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== RUN   TestAccAWSAPIGatewayV2Route_Target
=== PAUSE TestAccAWSAPIGatewayV2Route_Target
=== RUN   TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== PAUSE TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== CONT  TestAccAWSAPIGatewayV2Route_basic
=== CONT  TestAccAWSAPIGatewayV2Route_RequestParameters
=== CONT  TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== CONT  TestAccAWSAPIGatewayV2Route_Target
=== CONT  TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== CONT  TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== CONT  TestAccAWSAPIGatewayV2Route_Model
=== CONT  TestAccAWSAPIGatewayV2Route_Authorizer
=== CONT  TestAccAWSAPIGatewayV2Route_disappears
--- PASS: TestAccAWSAPIGatewayV2Route_disappears (28.36s)
--- PASS: TestAccAWSAPIGatewayV2Route_basic (29.82s)
--- PASS: TestAccAWSAPIGatewayV2Route_Model (33.15s)
--- PASS: TestAccAWSAPIGatewayV2Route_UpdateRouteKey (45.54s)
--- PASS: TestAccAWSAPIGatewayV2Route_Target (47.05s)
--- PASS: TestAccAWSAPIGatewayV2Route_SimpleAttributes (57.99s)
--- PASS: TestAccAWSAPIGatewayV2Route_RequestParameters (59.78s)
--- PASS: TestAccAWSAPIGatewayV2Route_JwtAuthorization (69.03s)
--- PASS: TestAccAWSAPIGatewayV2Route_Authorizer (76.02s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	76.136s

@ewbankkit ewbankkit requested a review from a team as a code owner March 25, 2021 17:19
@ghost ghost added size/XL Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/apigatewayv2 Issues and PRs that pertain to the apigatewayv2 service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Mar 25, 2021
@ewbankkit ewbankkit force-pushed the f-r/aws_apigatewayv2_route-add-request_parameters branch from d6c413d to 1a082f7 Compare March 25, 2021 17:21
Acceptance test output:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSAPIGatewayV2Route_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAPIGatewayV2Route_ -timeout 180m
=== RUN   TestAccAWSAPIGatewayV2Route_basic
=== PAUSE TestAccAWSAPIGatewayV2Route_basic
=== RUN   TestAccAWSAPIGatewayV2Route_disappears
=== PAUSE TestAccAWSAPIGatewayV2Route_disappears
=== RUN   TestAccAWSAPIGatewayV2Route_Authorizer
=== PAUSE TestAccAWSAPIGatewayV2Route_Authorizer
=== RUN   TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== PAUSE TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== RUN   TestAccAWSAPIGatewayV2Route_Model
=== PAUSE TestAccAWSAPIGatewayV2Route_Model
=== RUN   TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== PAUSE TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== RUN   TestAccAWSAPIGatewayV2Route_Target
=== PAUSE TestAccAWSAPIGatewayV2Route_Target
=== RUN   TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== PAUSE TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== CONT  TestAccAWSAPIGatewayV2Route_basic
=== CONT  TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== CONT  TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== CONT  TestAccAWSAPIGatewayV2Route_Target
=== CONT  TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== CONT  TestAccAWSAPIGatewayV2Route_Model
=== CONT  TestAccAWSAPIGatewayV2Route_Authorizer
=== CONT  TestAccAWSAPIGatewayV2Route_disappears
--- PASS: TestAccAWSAPIGatewayV2Route_disappears (26.14s)
--- PASS: TestAccAWSAPIGatewayV2Route_basic (29.35s)
--- PASS: TestAccAWSAPIGatewayV2Route_Model (31.10s)
--- PASS: TestAccAWSAPIGatewayV2Route_Target (31.49s)
--- PASS: TestAccAWSAPIGatewayV2Route_UpdateRouteKey (41.19s)
--- PASS: TestAccAWSAPIGatewayV2Route_SimpleAttributes (51.22s)
--- PASS: TestAccAWSAPIGatewayV2Route_Authorizer (69.92s)
--- PASS: TestAccAWSAPIGatewayV2Route_JwtAuthorization (75.50s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	75.587s
Acceptance test output:

$ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSAPIGatewayV2Route_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAPIGatewayV2Route_ -timeout 180m
=== RUN   TestAccAWSAPIGatewayV2Route_basic
=== PAUSE TestAccAWSAPIGatewayV2Route_basic
=== RUN   TestAccAWSAPIGatewayV2Route_disappears
=== PAUSE TestAccAWSAPIGatewayV2Route_disappears
=== RUN   TestAccAWSAPIGatewayV2Route_Authorizer
=== PAUSE TestAccAWSAPIGatewayV2Route_Authorizer
=== RUN   TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== PAUSE TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== RUN   TestAccAWSAPIGatewayV2Route_Model
=== PAUSE TestAccAWSAPIGatewayV2Route_Model
=== RUN   TestAccAWSAPIGatewayV2Route_RequestParameters
=== PAUSE TestAccAWSAPIGatewayV2Route_RequestParameters
=== RUN   TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== PAUSE TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== RUN   TestAccAWSAPIGatewayV2Route_Target
=== PAUSE TestAccAWSAPIGatewayV2Route_Target
=== RUN   TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== PAUSE TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== CONT  TestAccAWSAPIGatewayV2Route_basic
=== CONT  TestAccAWSAPIGatewayV2Route_RequestParameters
=== CONT  TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== CONT  TestAccAWSAPIGatewayV2Route_Target
=== CONT  TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== CONT  TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== CONT  TestAccAWSAPIGatewayV2Route_Model
=== CONT  TestAccAWSAPIGatewayV2Route_Authorizer
=== CONT  TestAccAWSAPIGatewayV2Route_disappears
--- PASS: TestAccAWSAPIGatewayV2Route_disappears (27.57s)
--- PASS: TestAccAWSAPIGatewayV2Route_basic (31.98s)
--- PASS: TestAccAWSAPIGatewayV2Route_Model (32.60s)
--- PASS: TestAccAWSAPIGatewayV2Route_Target (32.61s)
--- PASS: TestAccAWSAPIGatewayV2Route_UpdateRouteKey (41.37s)
--- PASS: TestAccAWSAPIGatewayV2Route_RequestParameters (56.66s)
--- PASS: TestAccAWSAPIGatewayV2Route_Authorizer (72.94s)
--- PASS: TestAccAWSAPIGatewayV2Route_JwtAuthorization (79.44s)
--- PASS: TestAccAWSAPIGatewayV2Route_SimpleAttributes (82.78s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	82.905s
@ewbankkit ewbankkit force-pushed the f-r/aws_apigatewayv2_route-add-request_parameters branch from 1a082f7 to 79598c7 Compare March 25, 2021 19:00
@ewbankkit ewbankkit changed the title [WIP] r/aws apigatewayv2 route: Add request_parameters attribute r/aws apigatewayv2 route: Add request_parameters attribute Mar 25, 2021
@DrFaust92 DrFaust92 added the enhancement Requests to existing resources that expand the functionality or scope. label Mar 26, 2021
Copy link
Collaborator

@DrFaust92 DrFaust92 left a comment

Choose a reason for hiding this comment

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

LGTM

--- PASS: TestAccAWSAPIGatewayV2Route_disappears (40.55s)
--- PASS: TestAccAWSAPIGatewayV2Route_basic (48.34s)
--- PASS: TestAccAWSAPIGatewayV2Route_Model (53.74s)
--- PASS: TestAccAWSAPIGatewayV2Route_Target (53.98s)
--- PASS: TestAccAWSAPIGatewayV2Route_UpdateRouteKey (76.10s)
--- PASS: TestAccAWSAPIGatewayV2Route_SimpleAttributes (101.49s)
--- PASS: TestAccAWSAPIGatewayV2Route_RequestParameters (104.10s)
--- PASS: TestAccAWSAPIGatewayV2Route_JwtAuthorization (121.86s)
--- PASS: TestAccAWSAPIGatewayV2Route_Authorizer (136.37s)

@DrFaust92 DrFaust92 removed their assignment Mar 26, 2021
@breathingdust
Copy link
Member

LGTM 🚀 Thanks @ewbankkit!

Verified Acceptance Tests in Commercial (us-west-2)

make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSAPIGatewayV2Route_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAPIGatewayV2Route_ -timeout 180m
=== RUN   TestAccAWSAPIGatewayV2Route_basic
=== PAUSE TestAccAWSAPIGatewayV2Route_basic
=== RUN   TestAccAWSAPIGatewayV2Route_disappears
=== PAUSE TestAccAWSAPIGatewayV2Route_disappears
=== RUN   TestAccAWSAPIGatewayV2Route_Authorizer
=== PAUSE TestAccAWSAPIGatewayV2Route_Authorizer
=== RUN   TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== PAUSE TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== RUN   TestAccAWSAPIGatewayV2Route_Model
=== PAUSE TestAccAWSAPIGatewayV2Route_Model
=== RUN   TestAccAWSAPIGatewayV2Route_RequestParameters
=== PAUSE TestAccAWSAPIGatewayV2Route_RequestParameters
=== RUN   TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== PAUSE TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== RUN   TestAccAWSAPIGatewayV2Route_Target
=== PAUSE TestAccAWSAPIGatewayV2Route_Target
=== RUN   TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== PAUSE TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== CONT  TestAccAWSAPIGatewayV2Route_basic
=== CONT  TestAccAWSAPIGatewayV2Route_RequestParameters
=== CONT  TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== CONT  TestAccAWSAPIGatewayV2Route_Model
=== CONT  TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== CONT  TestAccAWSAPIGatewayV2Route_Target
=== CONT  TestAccAWSAPIGatewayV2Route_Authorizer
=== CONT  TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== CONT  TestAccAWSAPIGatewayV2Route_disappears
--- PASS: TestAccAWSAPIGatewayV2Route_disappears (18.14s)
--- PASS: TestAccAWSAPIGatewayV2Route_basic (21.05s)
--- PASS: TestAccAWSAPIGatewayV2Route_Model (21.74s)
--- PASS: TestAccAWSAPIGatewayV2Route_Target (22.63s)
--- PASS: TestAccAWSAPIGatewayV2Route_UpdateRouteKey (32.72s)
--- PASS: TestAccAWSAPIGatewayV2Route_RequestParameters (44.94s)
--- PASS: TestAccAWSAPIGatewayV2Route_SimpleAttributes (45.74s)
--- PASS: TestAccAWSAPIGatewayV2Route_JwtAuthorization (55.81s)
--- PASS: TestAccAWSAPIGatewayV2Route_Authorizer (66.27s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	69.322s

Verified Acceptance Tests in GovCloud (us-gov-west-1)

make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSAPIGatewayV2Route_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAPIGatewayV2Route_ -timeout 180m
=== RUN   TestAccAWSAPIGatewayV2Route_basic
=== PAUSE TestAccAWSAPIGatewayV2Route_basic
=== RUN   TestAccAWSAPIGatewayV2Route_disappears
=== PAUSE TestAccAWSAPIGatewayV2Route_disappears
=== RUN   TestAccAWSAPIGatewayV2Route_Authorizer
=== PAUSE TestAccAWSAPIGatewayV2Route_Authorizer
=== RUN   TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== PAUSE TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== RUN   TestAccAWSAPIGatewayV2Route_Model
=== PAUSE TestAccAWSAPIGatewayV2Route_Model
=== RUN   TestAccAWSAPIGatewayV2Route_RequestParameters
=== PAUSE TestAccAWSAPIGatewayV2Route_RequestParameters
=== RUN   TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== PAUSE TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== RUN   TestAccAWSAPIGatewayV2Route_Target
=== PAUSE TestAccAWSAPIGatewayV2Route_Target
=== RUN   TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== PAUSE TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== CONT  TestAccAWSAPIGatewayV2Route_basic
=== CONT  TestAccAWSAPIGatewayV2Route_RequestParameters
=== CONT  TestAccAWSAPIGatewayV2Route_UpdateRouteKey
=== CONT  TestAccAWSAPIGatewayV2Route_JwtAuthorization
=== CONT  TestAccAWSAPIGatewayV2Route_Target
=== CONT  TestAccAWSAPIGatewayV2Route_SimpleAttributes
=== CONT  TestAccAWSAPIGatewayV2Route_disappears
=== CONT  TestAccAWSAPIGatewayV2Route_Model
=== CONT  TestAccAWSAPIGatewayV2Route_Authorizer
--- PASS: TestAccAWSAPIGatewayV2Route_Target (17.15s)
--- PASS: TestAccAWSAPIGatewayV2Route_disappears (19.72s)
--- PASS: TestAccAWSAPIGatewayV2Route_UpdateRouteKey (26.05s)
--- PASS: TestAccAWSAPIGatewayV2Route_Model (39.26s)
--- PASS: TestAccAWSAPIGatewayV2Route_RequestParameters (39.27s)
--- PASS: TestAccAWSAPIGatewayV2Route_SimpleAttributes (39.68s)
--- PASS: TestAccAWSAPIGatewayV2Route_basic (46.59s)
--- PASS: TestAccAWSAPIGatewayV2Route_Authorizer (59.05s)
--- PASS: TestAccAWSAPIGatewayV2Route_JwtAuthorization (64.01s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	66.805s

@breathingdust breathingdust merged commit 0a34535 into hashicorp:main Mar 31, 2021
@github-actions github-actions bot added this to the v3.35.0 milestone Mar 31, 2021
@ewbankkit ewbankkit deleted the f-r/aws_apigatewayv2_route-add-request_parameters branch April 1, 2021 11:28
@ghost
Copy link

ghost commented Apr 1, 2021

This has been released in version 3.35.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!

@ghost
Copy link

ghost commented May 1, 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 May 1, 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. enhancement Requests to existing resources that expand the functionality or scope. service/apigatewayv2 Issues and PRs that pertain to the apigatewayv2 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
Development

Successfully merging this pull request may close these issues.

aws_apigatewayv2_route is missing support for request parameters
3 participants