Ensure API gateway caching is enabled

Error: API gateway caching is disabled

Bridgecrew Policy ID: BC_AWS_GENERAL_44
Checkov Check ID: CKV_AWS_120
Severity: LOW

API gateway caching is disabled


Checks that all methods in Amazon API Gateway stages have cache enabled.

Fix - Buildtime


  • Resource: aws_api_gateway_rest_api
  • Argument: cache_cluster_enabled
resource "aws_api_gateway_rest_api" "example" {                    
                      name                  = "example"
+                     cache_cluster_enabled = true

Did this page help you?