Skip to content

Commit

Permalink
Updating variables
Browse files Browse the repository at this point in the history
  • Loading branch information
sylviamclaughlin authored Feb 27, 2025
1 parent 8d2a514 commit 24a5e5a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions terragrunt/modules/openai_api_key/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion terragrunt/modules/openai_api_key/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ variable "openai_deployments" {
variable "budget_amount" {
type = number
description = "The amount of money to spend on the Azure Cognitive Services account per month."
default = 25.0
default = 25
}

variable "budget_time_grain" {
Expand Down

0 comments on commit 24a5e5a

Please sign in to comment.