-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
94 lines (81 loc) · 2.01 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 "client_name" {
description = "Client name"
type = string
}
variable "environment" {
description = "Environment name"
type = string
}
variable "stack" {
description = "Stack name"
type = string
}
variable "resource_group_name" {
description = "Resource group name"
type = string
}
variable "location" {
description = "Azure location for App Service Plan."
type = string
}
variable "location_short" {
description = "Short string for Azure location."
type = string
}
variable "sku" {
description = "Signalr SKU"
type = object({
name = string,
capacity = number
})
default = {
name = "Free_F1"
capacity = 1
}
}
variable "allowed_origins" {
description = "A List of origins which should be able to make cross-origin calls."
type = list(string)
default = []
}
variable "network_rules" {
description = <<EOD
Network Rules to apply to SignalR.
`name` Name of the rule
`rule_type` allowed values are allow or deny
`endpoint` allowed values public-network or the name of the private link
`services` allowed values ["ClientConnection", "ServerConnection", "RESTAPI"]
EOD
type = list(object({
name = string
rule_type = string
endpoint = string
services = list(string)
}))
default = []
}
variable "connectivity_logs_enabled" {
description = "Specifies if Connectivity Logs are enabled or not"
type = bool
default = false
}
variable "messaging_logs_enabled" {
description = "Specifies if Messaging Logs are enabled or not"
type = bool
default = false
}
variable "live_trace_enabled" {
description = "Specifies if Live Trace is enabled or not"
type = bool
default = false
}
variable "service_mode" {
description = "Specifies the service mode"
type = string
default = "Default"
}
variable "public_network_access_enabled" {
description = "Specifies if the public access is enabled or not."
type = bool
default = false
}