forked from rlevchenko/terraform-azure-data
-
Notifications
You must be signed in to change notification settings - Fork 0
/
terraform.tfvars
172 lines (132 loc) · 7.05 KB
/
terraform.tfvars
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
#--------------------------------------------------------------
# Deployment settings
#--------------------------------------------------------------
# Azure principal
client_id = "36070b6xxxx" # Application ID
subscr_id = "997f972xxxx" # Subscription ID
tenant_id = "d373cb1xxxx" # Tenant ID
# Azure region
az_region = "West Europe"
# Azure tags
az_tags = {
environment = "rlevchenko"
}
# Naming convention
prefix = "rl"
suffix = "mvp"
#--------------------------------------------------------------
# What should be deployed?
#--------------------------------------------------------------
servicebus = true # Azure Service Bus
datafactory = true # Azure Data Factory
datafactory_git = false # Enable GIT for Data Factory? (don't forget to set Git settings in the Data Factory section)
databricks = true # Azure DataBricks
eventhub = true # Azure EventHub
functions = true # Azure Functions
functions_appins = true # Integrate App.Insights with Azure Functions?
eventgrid = true # Azure EventGrid
kusto = true # Azure Data Explorer (kusto)
analysis = true # Azure Analysis Server
sqlserver = true # Azure SQL Server
sqlep = true # Azure SQL Elastic Pool
sqldb = true # Azure SQL Database
#--------------------------------------------------------------
# Service Bus settings | rlevchenko.com
#--------------------------------------------------------------
# Service Bus namespace
az_sb_sku = "Standard" # Can be Standard, Basic or Premium
az_sb_capacity = "1" # NOTE: Change only if Premium SKU is selected. Possible values - 1,2 or 4
# Service Bus Authorization rule (namespace level)
az_sb_rule_listen = true
az_sb_rule_send = false
az_sb_rule_manage = false
# Service Bus Topic
az_sb_topic_partitioning = false # https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-partitioning
az_sb_topic_duplicatedetection = false # https://docs.microsoft.com/en-us/azure/service-bus-messaging/duplicate-detection
# Service Bus Topic Authorization rule
az_sb_topic_rule_listen = true
az_sb_topic_rule_send = false
az_sb_topic_rule_manage = false
# Service Bus Topic Subscription
az_sb_sub_delcount = 1
az_sb_sub_deadlettering = false
az_sb_sub_sessions = false # Enable Sessions?
#--------------------------------------------------------------
# Data Lake Storage settings | rlevchenko.com
#--------------------------------------------------------------
az_stor_acc_tier = "Standard" # Standard or Premium
az_stor_repl_type = "ZRS" # Storage Replication Type
az_stor_kind = "StorageV2" # Storage Kind
az_stor_tier = "Hot" # Tier (Cold/Hot/Archive)
az_stor_secure = true # Secured Storage or not? (HTTPS only)
#--------------------------------------------------------------
# Data Factory settings | rlevchenko.com
#--------------------------------------------------------------
git_account = "value here" # optional (if "Enable Git" required)
git_branch = "value here" # optional (if "Enable Git" required)
git_hostname = "value here" # optional (if "Enable Git" required)
git_repo = "value here" # optional (if "Enable Git" required)
git_folder = "value here" # optional (if "Enable Git" required)
# Azure DataBricks
az_spark_sku = "standard" # "standard/premium"
#--------------------------------------------------------------
# Event Hubs settings | rlevchenko.com
#--------------------------------------------------------------
az_hubns_sku = "Standard" # Event Hubs SKU (Basic/Standard)
az_hubns_capacity = "1" # Capacity (Throughput Units)
az_hub_inflate = "false" # Auto-inflate (applicable to Standard SKU)
az_hubns_maxunits = "7" # Max number of units if inflate enabled
az_hub_partcount = "1" # Event Hub Partition Count
az_hub_retention = "1" # Event Hub Message Retention
az_hub_capture = "false" # Enable capture to Azure storage?
#--------------------------------------------------------------
# Function App settings | rlevchenko.com
#--------------------------------------------------------------
az_appsvc_sku = "Dynamic" # AppService Plan SKU
az_appsvc_size = "Y1" # AppService Plan SKU size
az_funcapp_runtime = "Python" # Define runtime stack (python, node, java ..)
az_appins_type = "web" # AppInsights type (web, iOS and etc..)
az_appins_enable = "true" # If application insights should be enabled?
az_stor_funcapp_tier = "Standard" # Storage account settings
az_stor_funcapp_repl = "LRS" # Storage replication type
#--------------------------------------------------------------
# Data Explorer (kusto) settings | rlevchenko.com
#--------------------------------------------------------------
az_kusto_sku = "Standard_D11_v2" # Compute SKUs
az_kusto_nodes = "2" # Capacity (node counts)
#--------------------------------------------------------------
# Analysis Server settings | rlevchenko.com
#--------------------------------------------------------------
az_stor_ansrv_tier = "Standard" # Storage Account settings
az_stor_ansrv_repl = "LRS" # Replication Type
az_ansrv_sku = "S0" # Analysis Server SKU
az_ansrv_users = ["[email protected]"] # List of emails/UPNs of admin users
az_ansrv_powerbi = "true" # Whether PowerBi be allowed to access or not
az_stor_ssa_start = "2021-06-07" # Start date of the SSA token (used for BackUp storage)
az_stor_ssa_end = "2021-09-10" # Expiration date of the SSA token (used for BackStorage)
#--------------------------------------------------------------
# Event Grid settings | rlevchenko.com
#--------------------------------------------------------------
az_eventgrid_schema = "EventGridSchema" # EventGridSchema or CloudEventV01Schema or CustomEventSchema
#--------------------------------------------------------------
# SQL Server settings | rlevchenko.com
#--------------------------------------------------------------
az_sqlserver_name = "rlsqlsrv01" # SQL Server Name (optional: random used)
az_sqlserver_version = "12.0" # SQL Server Version (2.0 or 12.0 basically)
az_sqlserver_username = "rladmin" # SQL Admin's username
az_sqlserver_password = "yourPassW0rD!$" # SQL Admin's password
#Elastic Pool
az_sql_ep_name = "rlsqlep01" # SQL Elastic Pool Name (optional: random used)
az_sql_ep_license_type = "LicenseIncluded" # SQL Elastic Pool License Type (BasePrice/LicenseIncluded)
az_sql_ep_maxsize = "50" # Max Data Size in Gb of the Elastic Pool
az_sql_ep_sku_name = "StandardPool" # SKU Name (only accepts DTU-based)
az_sql_ep_tier = "Standard" # SKU Tier (only accepts DTU-based)
az_sql_ep_capacity = "50" # SQL EP Pool eDTU capacity
az_sql_ep_db_min_capacity = "0" # Min Per-DB Capacity
az_sql_ep_db_max_capacity = "10" # Max Per-DB Capacity
#SQL DB
az_sql_db_name = "rlsqldb01" # SQL DB Name (optional: random used)
az_sql_db_sku_name = "ElasticPool" # SQL DB SKU Name
az_sql_db_maxsize = "5" # SQL DB Max Size in GB
#-----------------------------------------------------------
# Roman Levchenko | rlevchenko.com