-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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: Different range of valid values and defaults for 'timeout_milliseconds' between HTTP and WebSocket APIs #16017
Conversation
ValidateFunc: validation.IntBetween(50, 29000), | ||
Type: schema.TypeInt, | ||
Optional: true, | ||
Computed: true, |
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.
Removed ValidateFunc
as there's no way of making it dependent on the API type and the range 29000 to 30000 is invalid for WebSocket APIs.
…efaults for 'timeout_milliseconds' between HTTP and WebSocket APIs.
e91bfd1
to
caa31be
Compare
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_disappears (70.42s)--- PASS: TestAccAWSAPIGatewayV2Integration_basicWebSocket (77.25s)--- PASS: TestAccAWSAPIGatewayV2Integration_basicHttp (79.30s)
--- PASS: TestAccAWSAPIGatewayV2Integration_AwsServiceIntegration (84.02s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaHttp (104.42s)
--- PASS: TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp (108.62s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaWebSocket (133.69s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkHttp (367.23s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket (754.98s)
LGTM 🚀 Thanks @ewbankkit Verified Acceptance Tests in Commercial (us-west-2) 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
=== RUN TestAccAWSAPIGatewayV2Integration_AwsServiceIntegration
=== PAUSE TestAccAWSAPIGatewayV2Integration_AwsServiceIntegration
=== CONT TestAccAWSAPIGatewayV2Integration_basicWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_LambdaHttp
=== CONT TestAccAWSAPIGatewayV2Integration_AwsServiceIntegration
=== CONT TestAccAWSAPIGatewayV2Integration_basicHttp
=== CONT TestAccAWSAPIGatewayV2Integration_VpcLinkHttp
=== CONT TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_LambdaWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp
=== CONT TestAccAWSAPIGatewayV2Integration_disappears
--- PASS: TestAccAWSAPIGatewayV2Integration_disappears (18.29s)
--- PASS: TestAccAWSAPIGatewayV2Integration_basicWebSocket (18.91s)
--- PASS: TestAccAWSAPIGatewayV2Integration_basicHttp (20.59s)
--- PASS: TestAccAWSAPIGatewayV2Integration_AwsServiceIntegration (33.71s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaWebSocket (36.36s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaHttp (41.14s)
--- PASS: TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp (61.92s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkHttp (310.69s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket (655.79s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 657.414s Verified Acceptance Tests in GovCloud (us-gov-west-1) 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
=== RUN TestAccAWSAPIGatewayV2Integration_AwsServiceIntegration
=== PAUSE TestAccAWSAPIGatewayV2Integration_AwsServiceIntegration
=== CONT TestAccAWSAPIGatewayV2Integration_basicWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_LambdaHttp
=== CONT TestAccAWSAPIGatewayV2Integration_AwsServiceIntegration
=== CONT TestAccAWSAPIGatewayV2Integration_VpcLinkHttp
=== CONT TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp
=== CONT TestAccAWSAPIGatewayV2Integration_LambdaWebSocket
=== CONT TestAccAWSAPIGatewayV2Integration_disappears
=== CONT TestAccAWSAPIGatewayV2Integration_basicHttp
--- PASS: TestAccAWSAPIGatewayV2Integration_disappears (13.27s)
--- PASS: TestAccAWSAPIGatewayV2Integration_basicHttp (14.98s)
--- PASS: TestAccAWSAPIGatewayV2Integration_IntegrationTypeHttp (23.02s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaHttp (29.69s)
--- PASS: TestAccAWSAPIGatewayV2Integration_LambdaWebSocket (34.45s)
--- PASS: TestAccAWSAPIGatewayV2Integration_basicWebSocket (46.02s)
--- PASS: TestAccAWSAPIGatewayV2Integration_AwsServiceIntegration (54.71s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkHttp (343.23s)
--- PASS: TestAccAWSAPIGatewayV2Integration_VpcLinkWebSocket (649.66s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 651.515s |
This has been released in version 3.14.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 #16002.
Release note for CHANGELOG:
Output from acceptance testing: