-
Notifications
You must be signed in to change notification settings - Fork 174
/
Copy pathvariables.tf
92 lines (77 loc) · 2.16 KB
/
variables.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
variable "resource_group_name" {
type = string
description = "The name of the resource group."
}
variable "resource_group_location" {
type = string
description = "The location of the resource group."
default = "eastus"
}
variable "apim_resource_name" {
type = string
description = "The name of the API Management resource."
default = "apim"
}
variable "apim_sku" {
type = string
description = "The SKU of the API Management resource."
default = "Developer"
}
variable "openai_config" {
description = "Configuration for OpenAI accounts"
type = map(object({
location = string
name = string
}))
}
variable "openai_api_version" {
type = string
description = "The API version for OpenAI Cognitive Service."
default = "2024-10-21"
}
variable "openai_sku" {
type = string
description = "The SKU for OpenAI Cognitive Service."
default = "S0"
}
variable "openai_deployment_name" {
type = string
description = "The name of the OpenAI deployment."
}
variable "openai_model_name" {
type = string
description = "The name of the OpenAI model."
}
variable "openai_model_version" {
type = string
description = "The version of the OpenAI model."
}
variable "openai_model_capacity" {
type = number
description = "The capacity of the OpenAI model."
default = 1
}
variable "openai_api_spec_url" {
type = string
default = "https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/stable/2024-10-21/inference.json"
}
variable "weather_api_path" {
type = string
description = "The path for the Weather API."
default = "weatherservice"
}
variable "place_order_api_path" {
type = string
description = "The path for the Place Order API."
default = "orderservice"
}
variable "product_catalog_api_path" {
type = string
description = "The path for the Product Catalog API."
default = "catalogservice"
}
variable "location" {
type = string
description = "The location for the resources."
default = "eastus"
}