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

resource/aws_api_gateway_method_settings: Prevent unexpected errors during creation and deletion #17234

Merged
merged 2 commits into from
Feb 3, 2021

Commits on Jan 22, 2021

  1. resource/aws_api_gateway_method_settings: Prevent unexpected errors d…

    …uring creation and deletion
    
    Reference: #13985
    Reference: #16796
    
    Fixing this as part of API Gateway service spike work. As mentioned in the issue this will not help mitigate the cause of the problem, but will at least give a better error message.
    
    Output from acceptance testing:
    
    ```
    --- PASS: TestAccAWSAPIGatewayMethodSettings_basic (25.35s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_disappears (247.81s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_CacheDataEncrypted (147.06s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_CacheTtlInSeconds (340.17s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_CachingEnabled (448.46s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_DataTraceEnabled (216.61s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_LoggingLevel (55.96s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_MetricsEnabled (397.43s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_Multiple (692.67s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_RequireAuthorizationForCacheControl (178.96s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimit (118.97s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingBurstLimitDisabledByDefault (86.39s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimit (515.72s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_ThrottlingRateLimitDisabledByDefault (484.35s)
    --- PASS: TestAccAWSAPIGatewayMethodSettings_Settings_UnauthorizedCacheControlHeaderStrategy (312.16s)
    ```
    bflad committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    db41ccb View commit details
    Browse the repository at this point in the history
  2. Update CHANGELOG for #17234

    bflad committed Jan 22, 2021
    Configuration menu
    Copy the full SHA
    ebc4f3a View commit details
    Browse the repository at this point in the history