-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
106 lines (87 loc) · 2.3 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
## General
variable "aws_account_id" {
type = string
description = "Needed for Guards to ensure code is being deployed to the correct account"
}
variable "region" {
type = string
description = "The default region for the application / deployment"
}
variable "naming_prefix" {
# TODO descript
type = string
}
variable "mandatory_tags" {
type = map(string)
description = "Default tags added to all resources, this will be added to the provider"
}
## Network configuration
variable "vpc_id" {
type = string
}
variable "subnet_ids" {
type = list(string)
}
## LakeFS RDS configuration
variable "rds_admin_user" {
type = string
default = "lakefs_admin"
}
variable "rds_admin_password" {
type = string
sensitive = true
}
variable "rds_snapshot_id" {
description = "Optional RDS Snapshot ID to restore from"
type = string
default = ""
}
## LakeFS Server EC2 configuration
variable "lakefs_ec2_instance_type" {
type = string
default = "t3.micro"
}
variable "lakefs_encrypt_secret_key" {
description = "LakeFS encryption key. Changing this will make any existing RDS data eg snapshots, unusable."
sensitive = true
}
variable "ssh_authorized_keys" {
type = list(string)
default = []
}
variable "ec2_key_pair_name" {
type = string
default = null
}
## LakeFS application configuration
variable "lakefs_s3_bucket_prefix" {
description = "LakeFS S3 bucket name prefix, will be created and force-destroyed (including ALL data) by this TF environment."
type = string
default = "lakefs-"
}
variable "lakefs_repo_name" {
type = string
default = "main-repo"
}
variable "lakefs_branch_name" {
type = string
default = "main"
}
variable "hadoop_lakefs_assembly_jar_bucket" {
description = "Hadoop LakeFS Assembly jar bucket on S3"
type = string
}
variable "hadoop_lakefs_assembly_jar_object_key" {
description = "Hadoop LakeFS Assembly jar object key on S3"
type = string
default = "lakefs/assets/hadoop-lakefs-assembly-0.1.6.jar"
}
variable "s3_region_endpoint" {
description = "S3 region endpoint, see https://docs.lakefs.io/integrations/spark.html#configuration-1"
type = string
default = "use-default"
}
variable "lakefs_iam_user" {
type = string
default = "lakefs"
}