-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathvariables.tf
154 lines (131 loc) · 3.89 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
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
variable "location" {
description = "Azure location."
type = string
}
variable "location_short" {
description = "Short string for Azure location."
type = string
}
variable "client_name" {
description = "Client name/account used in naming"
type = string
}
variable "environment" {
description = "Project environment"
type = string
}
variable "stack" {
description = "Project stack name"
type = string
}
variable "resource_group_name" {
description = "Resource group name"
type = string
}
variable "storage_data_lake_gen2_filesystem_id" {
description = "Azure Data Lake Gen 2 resource id"
type = string
}
variable "sql_administrator_login" {
description = "Administrator login of synapse sql database"
type = string
}
variable "sql_administrator_password" {
description = "Administrator password of synapse sql database"
type = string
}
variable "aad_admin" {
description = "Credentials of the Azure AD Administrator of this Synapse Workspace."
type = object({
login = string
tenant_id = string
object_id = string
})
default = {
login = ""
tenant_id = ""
object_id = ""
}
}
variable "saas_connection" {
description = "Used to configure Public Network Access"
type = bool
default = false
}
variable "sql_defender_container" {
description = "A blob storage container path to hold the scan results and all Threat Detection audit logs."
type = object({
name = string
storage_account_name = string
resource_group_name = string
})
}
variable "sql_defender_recurring_scans" {
description = "SQL defender scan configuration"
type = object({
enabled = bool
email_subscription_admins_enabled = bool
emails = list(string)
})
default = null
}
variable "auditing_policy_storage_account" {
description = "ID of SQL audit policy storage account"
type = string
}
variable "linking_allowed_for_aad_tenant_ids" {
description = "Allowed Aad Tenant Ids For Linking"
type = list(string)
default = []
}
variable "compute_subnet_id" {
description = "Subnet ID used for computes in workspace"
type = string
default = null
}
variable "data_exfiltration_protection_enabled" {
description = "Is data exfiltration protection enabled in this workspace ?"
type = bool
default = false
}
variable "purview_id" {
description = "The ID of purview account."
type = string
default = null
}
variable "sql_identity_control_enabled" {
description = "Are pipelines (running as workspace's system assigned identity) allowed to access SQL pools?"
type = bool
default = false
}
variable "managed_resource_group_name" {
description = "Workspace managed resource group name"
type = string
default = null
}
variable "azure_devops_configuration" {
description = "Azure Devops repo Configuration"
type = object({
account_name = string
branch_name = string
last_commit_id = optional(string)
project_name = string
repository_name = string
root_folder = string
tenant_id = string
})
default = null
}
variable "customer_managed_key" {
description = "A customer_managed_key block supports the following: key_versionless_id - (Required) The Azure Key Vault Key Versionless ID to be used as the Customer Managed Key (CMK) for double encryption. key_name - (Optional) An identifier for the key. Name needs to match the name of the key used with the azurerm_synapse_workspace_key resource. Defaults to \"cmk\" if not specified."
type = object({
key_versionless_id = string
key_name = optional(string)
})
default = null
}
variable "retention_days" {
description = "Number of days for retention of security policies"
type = number
default = 30
}