r/api_gateway_method_settings: allow zero ttl#12651
Merged
anGie44 merged 4 commits intoJul 31, 2020
Merged
Conversation
add plan time validations to `logging level` and `unauthorized_cache_control_header_strategy`
Contributor
|
LGTM. $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAWSAPIGatewayMethodSettings_'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSAPIGatewayMethodSettings_ -timeout 120m
=== RUN TestAccAWSAPIGatewayMethodSettings_basic
=== PAUSE TestAccAWSAPIGatewayMethodSettings_basic
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_CacheDataEncrypted
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_CacheDataEncrypted
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_CacheTtlInSeconds
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_CacheTtlInSeconds
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_CachingEnabled
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_CachingEnabled
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_DataTraceEnabled
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_DataTraceEnabled
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_LoggingLevel
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_LoggingLevel
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_MetricsEnabled
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_MetricsEnabled
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_Multiple
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_Multiple
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_RequireAuthorizationForCacheControl
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_RequireAuthorizationForCacheControl
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimit
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimit
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimitDisabledByDefault
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimitDisabledByDefault
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimit
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimit
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimitDisabledByDefault
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimitDisabledByDefault
=== RUN TestAccAWSAPIGatewayMethodSettings_Settings_UnauthorizedCacheControlHeaderStrategy
=== PAUSE TestAccAWSAPIGatewayMethodSettings_Settings_UnauthorizedCacheControlHeaderStrategy
=== RUN TestAccAWSAPIGatewayMethodSettings_disappears
=== PAUSE TestAccAWSAPIGatewayMethodSettings_disappears
=== CONT TestAccAWSAPIGatewayMethodSettings_basic
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_RequireAuthorizationForCacheControl
=== CONT TestAccAWSAPIGatewayMethodSettings_disappears
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_UnauthorizedCacheControlHeaderStrategy
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimitDisabledByDefault
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimit
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimitDisabledByDefault
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimit
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_CachingEnabled
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_Multiple
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_MetricsEnabled
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_LoggingLevel
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_DataTraceEnabled
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_CacheDataEncrypted
=== CONT TestAccAWSAPIGatewayMethodSettings_Settings_CacheTtlInSeconds
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimitDisabledByDefault (36.92s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_CachingEnabled (68.54s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimitDisabledByDefault (69.12s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_CacheDataEncrypted (119.50s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_CacheTtlInSeconds (130.54s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_disappears (162.07s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_basic (214.92s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_RequireAuthorizationForCacheControl (237.49s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimit (281.97s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_Multiple (376.69s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_LoggingLevel (428.74s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_UnauthorizedCacheControlHeaderStrategy (460.51s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimit (555.63s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_DataTraceEnabled (636.98s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_MetricsEnabled (726.06s)
PASS
ok github.com/terraform-providers/terraform-provider-aws/aws 726.157s |
ewbankkit
approved these changes
Jul 25, 2020
anGie44
approved these changes
Jul 31, 2020
anGie44
left a comment
Contributor
There was a problem hiding this comment.
LGTM 🚀
Output of acceptance tests:
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_CacheDataEncrypted (374.87s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_CacheTtlInSeconds (487.88s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_CachingEnabled (94.50s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_DataTraceEnabled (21.06s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_LoggingLevel (82.36s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_MetricsEnabled (224.97s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_Multiple (285.49s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_RequireAuthorizationForCacheControl (189.37s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimit (110.83s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimitDisabledByDefault (750.06s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimit (454.36s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimitDisabledByDefault (52.13s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_UnauthorizedCacheControlHeaderStrategy (432.88s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_basic (153.46s)
--- PASS: TestAccAWSAPIGatewayMethodSettings_disappears (249.43s)
|
This has been released in version 3.1.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! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Community Note
Closes #12638
Release note for CHANGELOG:
Output from acceptance testing: