-
Notifications
You must be signed in to change notification settings - Fork 151
/
Copy pathvariables.tf
75 lines (63 loc) · 1.97 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
variable "databricks_account_client_id" {
type = string
description = "Application ID of account-level service principal"
}
variable "databricks_account_client_secret" {
type = string
description = "Client secret of account-level service principal"
}
variable "databricks_account_id" {
type = string
description = "Databricks Account ID"
}
variable "aws_account_id" {
type = string
description = "(Required) AWS account ID where the cross-account role for Unity Catalog will be created"
}
variable "region" {
type = string
description = "AWS region to deploy to"
default = "ap-southeast-1"
}
variable "tags" {
default = {}
type = map(string)
description = "Optional tags to add to created resources"
}
variable "databricks_workspace_ids" {
description = <<EOT
List of Databricks workspace IDs to be enabled with Unity Catalog.
Enter with square brackets and double quotes
e.g. ["111111111", "222222222"]
EOT
type = list(string)
default = ["2424101092929547"]
}
variable "databricks_users" {
description = <<EOT
List of Databricks users to be added at account-level for Unity Catalog. should we put the account owner email here? maybe not since it's always there and we dont want tf to destroy
Enter with square brackets and double quotes
e.g ["[email protected]", "[email protected]"]
EOT
type = list(string)
}
variable "databricks_account_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 = "Name of the admin group. This group will be set as the owner of the Unity Catalog metastore"
type = string
}
variable "pat_ws_1" {
type = string
sensitive = true
}
variable "pat_ws_2" {
type = string
sensitive = true
}