11variable "databricks_account_username" {}
22variable "databricks_account_password" {}
3- variable "databricks_account_id" {}
3+
4+ variable "databricks_account_id" {
5+ type = string
6+ description = " Databricks Account ID"
7+ }
48
59variable "tags" {
6- default = {}
10+ default = {}
11+ type = map (string )
12+ description = " Optional tags to add to created resources"
713}
814
915variable "spoke_cidr_block" {
10- default = " 10.173.0.0/16"
16+ default = " 10.173.0.0/16"
17+ description = " IP range for spoke AWS VPC"
18+ type = string
1119}
20+
1221variable "hub_cidr_block" {
13- default = " 10.10.0.0/16"
22+ default = " 10.10.0.0/16"
23+ description = " IP range for hub AWS VPC"
24+ type = string
1425}
26+
1527variable "region" {
16- default = " eu-central-1"
28+ default = " eu-central-1"
29+ type = string
30+ description = " AWS region to deploy to"
1731}
1832
19- resource "random_string" "naming" {
20- special = false
21- upper = false
22- length = 6
23- }
2433variable "whitelisted_urls" {
25- default = [" .pypi.org" , " .pythonhosted.org" , " .cran.r-project.org" ]
34+ default = [" .pypi.org" , " .pythonhosted.org" , " .cran.r-project.org" ]
35+ description = " List of the domains to allow traffic to"
36+ type = list (string )
2637}
2738
2839variable "db_web_app" {
29- default = " frankfurt.cloud.databricks.com"
40+ default = " frankfurt.cloud.databricks.com"
41+ description = " Hostname of Databricks web application"
42+ type = string
3043}
3144
3245variable "db_tunnel" {
33- default = " tunnel.eu-central-1.cloud.databricks.com"
46+ default = " tunnel.eu-central-1.cloud.databricks.com"
47+ description = " Hostname of Databricks SCC Relay"
48+ type = string
3449}
3550
3651variable "db_rds" {
37- default = " mdv2llxgl8lou0.ceptxxgorjrc.eu-central-1.rds.amazonaws.com"
52+ default = " mdv2llxgl8lou0.ceptxxgorjrc.eu-central-1.rds.amazonaws.com"
53+ description = " Hostname of AWS RDS instance for built-in Hive Metastore"
54+ type = string
3855}
3956
4057variable "db_control_plane" {
41- default = " 18.159.44.32/28"
58+ default = " 18.159.44.32/28"
59+ description = " IP Range for AWS Databricks control plane"
60+ type = string
4261}
4362
4463variable "prefix" {
45- default = " demo"
46- }
64+ default = " demo"
65+ type = string
66+ description = " Prefix for use in the generated names"
67+ }
0 commit comments