-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
111 lines (93 loc) · 2.75 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
################################
## Azure Provider - Variables ##
################################
# Azure authentication variables
variable "azure_subscription_id" {
type = string
description = "Azure Subscription ID"
}
variable "azure_client_id" {
type = string
description = "Azure Client ID"
}
variable "azure_client_secret" {
type = string
description = "Azure Client Secret"
}
variable "azure_tenant_id" {
type = string
description = "Azure Tenant ID"
}
#############################
## Application - Variables ##
#############################
# Company name
variable "company" {
type = string
description = "This variable defines the company name used to build resources"
}
# Application name
variable "app_name" {
type = string
description = "This variable defines the application name used to build resources"
}
# Environment
variable "environment" {
type = string
description = "This variable defines the environment to be built"
}
# Azure region
variable "location" {
type = string
description = "Azure region where resources will be created"
default = "west europe"
}
# Azure short region
variable "shortlocation" {
type = string
description = "Azure region where resources will be created"
default = "we"
}
####################################
## Cognitive Services - Variables ##
####################################
variable "cognitive_account_sku_name" {
type = string
description = "Specifies the SKU Name for this Cognitive Service Account"
default = "S0"
}
variable "cognitive_account_kind_name" {
type = string
description = "Specifies the SKU Name for this Cognitive Service Account"
default = "OpenAI"
}
variable "cognitive_deployment" {
description = "List of Cognitive Deployments"
type = list(object({
name = string
type = string
version = string
scale_type = string
}))
default = [
{
name = "gpt35"
type = "gpt-35-turbo"
version = "0301"
scale_type = "Standard"
}
]
}
#########################
## Logging - Variables ##
#########################
variable "log_analytics_retention_in_days" {
type = number
description = "The workspace data retention in days. Possible values are either 7 (Free Tier only) or range between 30 and 730"
default = 30
}
variable "log_analytics_sku" {
type = string
description = "Specifies the SKU of the Log Analytics Workspace. Possible values are Free, PerNode, Premium, Standard, Standalone, Unlimited, CapacityReservation, and PerGB2018"
default = "PerGB2018"
}