Skip to content

too_many_budgets

A policy diagnostic from deedglass policy lint and the policy routes.

Severity: error

The policy has more than 50 budgets. Every budget is checked for every action, so the limit keeps evaluation fast. A policy with 51 budgets gets:

✕ policy.yaml:7:3 · too_many_budgets
This policy has 51 budgets; the limit is 50.
hint: Combine budgets with match globs, or split the policy.

Fix: combine budgets with the same window and limit into one budget whose match uses a glob or a list.