generated from libre-devops/terraform-module-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
input.tf
213 lines (178 loc) · 5.47 KB
/
input.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
variable "active_directory_auth_setttings" {
description = "Active directory authentication provider settings for app service"
type = any
default = {}
}
variable "app_insights_daily_cap_in_gb" {
type = string
description = "The daily cap for app insights"
default = null
}
variable "app_insights_daily_data_cap_notifications_disabled" {
type = bool
description = "Whether notifications are enabled or not, defaults to false"
default = null
}
variable "app_insights_force_customer_storage_for_profile" {
type = bool
description = "Whether the force profile is being enabled"
default = null
}
variable "app_insights_internet_ingestion_enabled" {
type = bool
description = "Whether internet ingestion is enabled"
default = null
}
variable "app_insights_internet_query_enabled" {
type = bool
description = "Whether or not your workspace can be queried from the internet"
default = null
}
variable "app_insights_local_authentication_disabled" {
type = bool
description = "Whether local authentication is disabled"
default = null
}
variable "app_insights_name" {
type = string
description = "The name of the app insights"
default = null
}
variable "app_insights_sampling_percentage" {
type = string
description = "The app insights sampling percentage"
default = null
}
variable "app_insights_type" {
type = string
description = "What the type of app insights to be made is"
default = null
}
variable "app_name" {
description = "The name of the function app"
type = string
}
variable "app_settings" {
description = "Function App application settings"
type = map(any)
default = {}
}
variable "backup_sas_url" {
description = "URL SAS to backup"
type = string
default = ""
}
variable "builtin_logging_enabled" {
type = bool
description = "Whether AzureWebJobsDashboards should be enabled, default is true"
default = true
}
variable "client_certificate_enabled" {
type = bool
description = "Whether client certificate auth is enabled, default is false"
default = false
}
variable "client_certificate_mode" {
type = string
description = "The option for client certificates"
default = "Optional"
}
variable "connect_app_insights_to_law_workspace" {
type = bool
description = "Whether the app insights being made should be connected to a workspace id"
default = null
}
variable "connection_strings" {
description = "Connection strings for App Service"
type = list(map(string))
default = []
}
variable "daily_memory_time_quota" {
type = number
description = "The amount of memory in gigabyte-seconds that your app can consume per day, defaults to 0"
default = 0
}
variable "enable_app_insights" {
type = bool
description = "Whether app insights should be made"
default = false
}
variable "enabled" {
type = bool
description = "Is the function app enabled? Default is true"
default = true
}
variable "force_disabled_content_share" {
type = bool
description = "Should content share be disabled in storage account? Default is false"
default = false
}
variable "https_only" {
description = "Disable http procotol and keep only https"
type = bool
default = true
}
variable "identity_ids" {
description = "Specifies a list of user managed identity ids to be assigned to the VM."
type = list(string)
default = []
}
variable "identity_type" {
description = "The Managed Service Identity Type of this Virtual Machine."
type = string
default = ""
}
variable "location" {
description = "Azure location."
type = string
}
variable "rg_name" {
description = "Resource group name"
type = string
}
variable "service_plan_id" {
description = "Id of the App Service Plan for Function App hosting"
type = string
}
variable "settings" {
description = "Specifies the Authentication enabled or not"
default = false
type = any
}
variable "site_config" {
description = "Site config for App Service. See documentation https://www.terraform.io/docs/providers/azurerm/r/app_service.html#site_config. IP restriction attribute is not managed in this block."
type = any
default = {}
}
variable "storage_key_vault_secret_id" {
type = string
description = "The secret ID for the connection string of the storage account used by the function app"
default = ""
}
variable "storage_uses_managed_identity" {
type = bool
description = "If you want the storage account to use a managed identity instead of a access key"
default = false
}
variable "tags" {
type = map(string)
description = "A map of the tags to use on the resources that are deployed with this module."
default = {
source = "terraform"
}
}
variable "web_app_vnet_integration_enabled" {
description = "Enable VNET integration with the Function App. `web_app_vnet_integration_subnet_id` is mandatory if enabled"
type = bool
default = false
}
variable "web_app_vnet_integration_subnet_id" {
description = "ID of the subnet to associate with the Function App (VNet integration)"
type = string
default = null
}
variable "workspace_id" {
type = string
description = "if app insights count is set to true, the ID of the workspace, not the workspace_id"
default = null
}