-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
94 lines (86 loc) · 1.6 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
variable "powerbi-config" {
type = object({
dataset = string
table = string
group-name = string
})
default = {
dataset = "actions-workflow-data"
table = "data"
group-name = "beaver-logs"
}
}
variable "docker-config" {
type = object({
image = string
tag = string
})
default = {
image = "yjactionsmetrics.azurecr.io/beaver"
tag = "latest"
}
}
variable "resource-group" {
type = object({
name = string
location = string
})
default = {
name = "beaver"
location = "eastus"
}
}
variable "app-service-plan" {
type = object({
name = string
os-type = string
sku-name = string
})
default = {
name = "beaver-appserviceplan"
os-type = "Linux"
sku-name = "P1v3"
}
}
variable "eventhub-namespace" {
type = object({
name = string
sku = string
capacity = number
})
default = {
name = "beaver-eventhub-ns"
sku = "Standard"
capacity = 1
}
}
variable "eventhub" {
type = object({
name = string
partition-count = number
message-retention = number
})
default = {
name = "beaver-eventhub"
partition-count = 2
message-retention = 1
}
}
variable "consumer-group-name" {
type = string
default = "beaver-consumergroup"
}
variable "stream-analytics-job" {
type = object({
name = string
streaming-units = number
})
default = {
name = "beaver-sa-job"
streaming-units = 3
}
}
variable "linux-web-app-name" {
type = string
default = "beaver"
}