bgt
Cloud Billing Budgets
ManagementGCP
General
General information about the service.
Description
Cloud Billing Budgets allows you to set custom budgets and configure alert thresholds to monitor your Google Cloud spending. Receive email or Pub/Sub notifications when costs exceed thresholds.
Service ID
billingbudgets.googleapis.comResource Pattern
billingAccounts/{account}/budgets/{budget}References
Chat
Powered by AITalk to this service to learn more about it.
Suggested questions:
Naming
The conventions, rules, and restrictions for naming this service.
Naming Convention
bgt-{workload}-{env}Length
4-63
Valid Characters
Lowercase letters, numbers, hyphens
Scope
global
Code
Deploy your infrastructure as code using your preferred tooling.
Official Documentation
terraform
1resource "google_billing_budget" "main" {2 billing_account = var.billing_account3 display_name = "bgt-${var.workload}-${var.environment}"4 amount {5 specified_amount {6 currency_code = "USD"7 units = "1000"8 }9 }10 threshold_rules {11 threshold_percent = 0.512 }13 threshold_rules {14 threshold_percent = 0.915 }16}
Utilities
Utilities to support app deployment or configuration.