-
Notifications
You must be signed in to change notification settings - Fork 7
/
variables.tf
85 lines (70 loc) · 2.16 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
# ------------------------
# Authentication Variables
# ------------------------
variable "aad_tenant_id" {
type = string
description = "The id of the Azure Tenant to which all subscriptions belong"
}
variable "aad_subscription_id" {
type = string
description = "The id of the Azure Subscription"
}
variable "aad_client_id" {
type = string
description = "The client id of the Service Principal for interacting with Azure resources"
}
variable "aad_client_secret" {
type = string
description = "The client secret of the Service Principal for interacting with Azure resources"
sensitive = true
}
# ---------------------
# Application Variables
# ---------------------
# Company name
variable "company" {
type = string
description = "This variable defines the company name used to build resources"
}
# Application name
variable "app_name" {
type = string
description = "This variable defines the application name used to build resources"
}
# Environment
variable "environment" {
type = string
description = "This variable defines the environment to be built"
}
# Azure region
variable "location" {
type = string
description = "Azure region where the resource group will be created"
default = "west europe"
}
# Azure short region
variable "shortlocation" {
type = string
description = "Azure region where the resource group will be created"
default = "we"
}
# --------------------
# Databricks Variables
# --------------------
variable "databricks_workspace_rg" {
type = string
description = "The existing Resource Group where Databricks Workspace was deployed"
}
variable "databricks_workspace_id" {
type = string
description = "The ID of the Databricks Workspace for this deployment"
}
variable "databricks_workspace_url" {
type = string
description = "The URL of the Databricks Workspace for this deployment"
}
variable "databricks_account_id" {
type = string
description = "The ID of the Databricks Account for this deployment"
default = ""
}