Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions infra/modules/api/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -128,3 +128,16 @@
aws_api_gateway_account.this,
]
}

resource "aws_api_gateway_method_settings" "this" {
rest_api_id = aws_api_gateway_rest_api.this.id
stage_name = aws_api_gateway_stage.this.stage_name
method_path = "*/*"

settings {
logging_level = "INFO"
metrics_enabled = true
throttling_rate_limit = 20
throttling_burst_limit = 10
}
}
Comment on lines +132 to +143

Check failure

Code scanning / checkov

Ensure API Gateway method setting caching is enabled Error

Ensure API Gateway method setting caching is enabled
Loading