DOCS / CONFIGURATION

cost settings

Budgets and cost alerts.

Keys

KeyTypeDefaultDescription
monthly_budgetinteger(none)Monthly spend limit in USD
alert_thresholdsarray[50, 80, 100]Percentages that trigger an alert
require_tagsarray[team]Tags that must be present on new resources
auto_expire_stagingduration7dClean up staging environments after this time

Example

cost:
  # monthly_budget: (none)
  alert_thresholds: [50, 80, 100]
  require_tags: [team]
  auto_expire_staging: 7d

Values set here apply to every environment unless overridden in a coop.production.yolk file. Read and write values from the terminal with cluck config, and validate the whole file with cluck doctor.

NoteYolkML has no tabs, no anchors, and no surprises. Indent with two spaces, and the file will behave.