generated from cds-snc/project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8d2a514
commit 24a5e5a
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,7 +68,7 @@ resource "azurerm_consumption_budget_resource_group" "openai_budget" { | |
amount = var.budget_amount | ||
time_grain = var.budget_time_grain | ||
|
||
# Let the budget alarm expire in 10 years. We basically want to send the budget alarm to the user for indeterminate, which is 10 years. | ||
# Let the budget alarm expire in 10 years. We basically want to send the budget alarm to the user for indeterminate, which is currently max 10 years in the settings. | ||
time_period { | ||
start_date = "2025-02-01T00:00:00Z" | ||
end_date = "2035-02-01T00:00:00Z" | ||
|
@@ -78,7 +78,7 @@ resource "azurerm_consumption_budget_resource_group" "openai_budget" { | |
threshold = 80 | ||
operator = "EqualTo" | ||
threshold_type = "Forecasted" | ||
# Send notifications to the SRE team when we are at 80% of the forecasted budget | ||
# Send notifications to the SRE team and requestor email(s) when we are at 80% of the forecasted budget | ||
contact_emails = concat( | ||
["[email protected]"], | ||
var.requestor_emails | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters