-
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
r/aws_apigatewayv2_integration: Suppress integration_method diff for AWS Lambda integrations #13266
Conversation
Added additional acceptance tests for Lambda integration with HTTP API. $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSAPIGatewayV2Integration_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAPIGatewayV2Integration_ -timeout 120m
=== RUN TestAccAWSAPIGatewayV2Integration_basicWebSocket
=== PAUSE TestAccAWSAPIGatewayV2Integration_basicWebSocket
=== RUN TestAccAWSAPIGatewayV2Integration_basicHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_basicHttp
=== RUN TestAccAWSAPIGatewayV2Integration_disappears
=== PAUSE TestAccAWSAPIGatewayV2Integration_disappears
=== RUN TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp
=== RUN TestAccAWSAPIGatewayV2Integration_LambdaWebSocket
=== PAUSE TestAccAWSAPIGatewayV2Integration_LambdaWebSocket
=== RUN TestAccAWSAPIGatewayV2Integration_LambdaHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_LambdaHttp
=== RUN TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket
=== PAUSE TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket
=== RUN TestAccAWSAPIGatewayV2Integration_VpcLinkHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_VpcLinkHttp
=== CONT TestAccAWSAPIGatewayV2Integration_basicWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_LambdaHttp
=== CONT TestAccAWSAPIGatewayV2Integration_LambdaWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp
=== CONT TestAccAWSAPIGatewayV2Integration_disappears
=== CONT TestAccAWSAPIGatewayV2Integration_basicHttp
=== CONT TestAccAWSAPIGatewayV2Integration_VpcLinkHttp
=== CONT TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket
--- PASS: TestAccAWSAPIGatewayV2Integration_disappears (13.33s)
--- PASS: TestAccAWSAPIGatewayV2Integration_basicHttp (15.88s)
--- PASS: TestAccAWSAPIGatewayV2Integration_basicWebSocket (16.22s)
--- PASS: TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp (23.36s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaWebSocket (38.84s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaHttp (44.98s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkHttp (281.84s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket (705.82s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 705.921s |
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.
LGTM
--- PASS: TestAccAWSAPIGatewayV2Integration_basicWebSocket (44.76s)
--- PASS: TestAccAWSAPIGatewayV2Integration_basicHttp (40.32s)
--- PASS: TestAccAWSAPIGatewayV2Integration_disappears (38.94s)
--- PASS: TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp (66.32s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaWebSocket (83.50s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaHttp (88.47s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket (770.23s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkHttp (376.69s)
LGTM 🚀 Thanks @ewbankkit! Verified Acceptance Tests (Commercial) make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSAPIGatewayV2Integration_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAPIGatewayV2Integration_ -timeout 120m
=== RUN TestAccAWSAPIGatewayV2Integration_basicWebSocket
=== PAUSE TestAccAWSAPIGatewayV2Integration_basicWebSocket
=== RUN TestAccAWSAPIGatewayV2Integration_basicHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_basicHttp
=== RUN TestAccAWSAPIGatewayV2Integration_disappears
=== PAUSE TestAccAWSAPIGatewayV2Integration_disappears
=== RUN TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp
=== RUN TestAccAWSAPIGatewayV2Integration_LambdaWebSocket
=== PAUSE TestAccAWSAPIGatewayV2Integration_LambdaWebSocket
=== RUN TestAccAWSAPIGatewayV2Integration_LambdaHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_LambdaHttp
=== RUN TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket
=== PAUSE TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket
=== RUN TestAccAWSAPIGatewayV2Integration_VpcLinkHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_VpcLinkHttp
=== CONT TestAccAWSAPIGatewayV2Integration_basicWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_LambdaHttp
=== CONT TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_LambdaWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_basicHttp
=== CONT TestAccAWSAPIGatewayV2Integration_VpcLinkHttp
=== CONT TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp
=== CONT TestAccAWSAPIGatewayV2Integration_disappears
--- PASS: TestAccAWSAPIGatewayV2Integration_disappears (12.45s)
--- PASS: TestAccAWSAPIGatewayV2Integration_basicWebSocket (13.94s)
--- PASS: TestAccAWSAPIGatewayV2Integration_basicHttp (14.49s)
--- PASS: TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp (21.82s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaWebSocket (34.14s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaHttp (38.18s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkHttp (270.85s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket (697.70s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 700.776s Verified Acceptance Tests (GovCloud) make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSAPIGatewayV2Integration_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAPIGatewayV2Integration_ -timeout 120m
=== RUN TestAccAWSAPIGatewayV2Integration_basicWebSocket
=== PAUSE TestAccAWSAPIGatewayV2Integration_basicWebSocket
=== RUN TestAccAWSAPIGatewayV2Integration_basicHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_basicHttp
=== RUN TestAccAWSAPIGatewayV2Integration_disappears
=== PAUSE TestAccAWSAPIGatewayV2Integration_disappears
=== RUN TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp
=== RUN TestAccAWSAPIGatewayV2Integration_LambdaWebSocket
=== PAUSE TestAccAWSAPIGatewayV2Integration_LambdaWebSocket
=== RUN TestAccAWSAPIGatewayV2Integration_LambdaHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_LambdaHttp
=== RUN TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket
=== PAUSE TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket
=== RUN TestAccAWSAPIGatewayV2Integration_VpcLinkHttp
=== PAUSE TestAccAWSAPIGatewayV2Integration_VpcLinkHttp
=== CONT TestAccAWSAPIGatewayV2Integration_basicWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_LambdaHttp
=== CONT TestAccAWSAPIGatewayV2Integration_VpcLinkHttp
=== CONT TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp
=== CONT TestAccAWSAPIGatewayV2Integration_basicHttp
=== CONT TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_LambdaWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_disappears
--- PASS: TestAccAWSAPIGatewayV2Integration_disappears (8.02s)
--- PASS: TestAccAWSAPIGatewayV2Integration_basicWebSocket (9.87s)
--- PASS: TestAccAWSAPIGatewayV2Integration_basicHttp (10.10s)
--- PASS: TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp (13.96s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaHttp (28.73s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaWebSocket (33.24s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkHttp (237.63s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket (711.46s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 713.850s |
This has been released in version 3.0.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 #13261.
Release note for CHANGELOG:
Output from acceptance testing:
Without the fix: