-
Notifications
You must be signed in to change notification settings - Fork 151
/
Copy pathvariables.tf
76 lines (62 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
# Step 1: Initializing configs and variables
variable "tags" {
type = map(string)
description = "(Optional) List of tags to be propagated accross all assets in this demo"
}
variable "workspace_name" {
type = string
description = "(Required) Databricks workspace name to be used for deployment"
}
variable "cidr_block" {
type = string
description = "(Required) CIDR block to be used to create the Databricks VPC"
}
variable "region" {
type = string
description = "(Required) AWS region where the assets will be deployed"
}
variable "aws_profile" {
type = string
description = "(Required) AWS cli profile to be used for authentication with AWS"
}
variable "my_username" {
type = string
description = "(Required) Username in the form of an email to be added to the tags and be declared as owner of the assets"
}
variable "databricks_client_id" {
type = string
description = "(Required) Client ID to authenticate the Databricks provider at the account level"
}
variable "databricks_client_secret" {
type = string
description = "(Required) Client secret to authenticate the Databricks provider at the account level"
}
variable "databricks_account_id" {
type = string
description = "(Required) Databricks Account ID"
}
variable "databricks_users" {
description = <<EOT
List of Databricks users to be added at account-level for Unity Catalog.
Enter with square brackets and double quotes
e.g ["[email protected]", "[email protected]"]
EOT
type = list(string)
}
variable "databricks_metastore_admins" {
description = <<EOT
List of Admins to be added at account-level for Unity Catalog.
Enter with square brackets and double quotes
e.g ["[email protected]", "[email protected]"]
EOT
type = list(string)
}
variable "unity_admin_group" {
description = "(Required) Name of the admin group. This group will be set as the owner of the Unity Catalog metastore"
type = string
}
variable "aws_access_services_role_name" {
type = string
description = "(Optional) Name for the AWS Services role by this module"
default = null
}