Skip to content

Commit

Permalink
Update location for AOAI
Browse files Browse the repository at this point in the history
  • Loading branch information
marvinbuss committed Aug 23, 2024
1 parent cf26564 commit 7edd1bd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
3 changes: 2 additions & 1 deletion code/infra/aoai.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ module "azure_open_ai" {
time = time
}

location = var.location
location = var.location_openai
location_private_endpoint = var.location
resource_group_name = azurerm_resource_group.resource_group.name
tags = var.tags
cognitive_account_name = "${local.prefix}-aoai001"
Expand Down
6 changes: 6 additions & 0 deletions code/infra/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ variable "location" {
sensitive = false
}

variable "location_openai" {
description = "Specifies the location for Azure Open AI."
type = string
sensitive = false
}

variable "environment" {
description = "Specifies the environment of the deployment."
type = string
Expand Down
7 changes: 4 additions & 3 deletions config/PerfectThymeTech/vars.tfvars
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# General variables
location = "northeurope"
environment = "dev"
prefix = "assis"
location = "northeurope"
location_openai = "swedencentral"
environment = "dev"
prefix = "assis"
tags = {
workload = "assis"
}
Expand Down

0 comments on commit 7edd1bd

Please sign in to comment.