Skip to content

Commit 356c53d

Browse files
committed
terraform fixes
1 parent c2b1cab commit 356c53d

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

scenarios/AksOpenAiTerraform/terraform/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ module "openai" {
5757
}
5858
}
5959
]
60-
custom_subdomain_name = var.openai_subdomain
60+
custom_subdomain_name = "magic8ball-${local.random_id}"
6161

6262
log_analytics_workspace_id = module.log_analytics_workspace.id
6363
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
output "acr_url" {
2+
value = module.container_registry.name
3+
}

scenarios/AksOpenAiTerraform/terraform/variables.tf

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,7 @@ variable "resource_group_name_prefix" {
55

66
variable "location" {
77
type = string
8-
default = "westus3"
9-
}
10-
11-
variable "openai_subdomain" {
12-
type = string
13-
default = "magic8ball-test465544"
8+
default = "westus"
149
}
1510

1611
variable "kubernetes_version" {

0 commit comments

Comments
 (0)