-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathvariables.tf
133 lines (111 loc) · 3.48 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
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
variable "project_id" {
type = string
description = "project id for the buckets to be placed into"
}
variable "bucket_name_prefix" {
default = ""
type = string
description = "prefix to name the buckets"
}
variable "tamr_bucket_name_suffix" {
default = "-tamr-home"
type = string
description = "suffix for the name of the Tamr bucket"
}
variable "dataproc_bucket_name_suffix" {
default = "-dataproc-home"
type = string
description = "suffix for the name of the dataproc bucket"
}
variable "labels" {
type = map(string)
description = "labels to be attached to the bucket"
default = {
product = "external_tamr"
}
}
variable "bucket_locations" {
type = string
description = "Location for the buckets, default is `US`"
default = "US"
}
variable "bucket_write_members" {
type = list(string)
description = "The list of members to give write access to dataproc and tamr home buckets"
default = []
}
variable "bucket_read_members" {
type = list(string)
description = "The list of members to give write access to dataproc and tamr home buckets"
default = []
}
variable "dataproc_bucket_write_members" {
type = list(string)
description = "The list of members to give write access to dataproc bucket"
default = []
}
variable "dataproc_bucket_read_members" {
type = list(string)
description = "The list of members to give read access to dataproc bucket"
default = []
}
variable "tamr_home_bucket_write_members" {
type = list(string)
description = "The list of members to give write access to tamr home bucket"
default = []
}
variable "tamr_home_bucket_read_members" {
type = list(string)
description = "The list of members to give read access to tamr home bucket"
default = []
}
variable "force_destroy" {
default = false
type = bool
description = "force destroy potentially persistent buckets"
}
variable "lifecycle_delete" {
default = false
type = bool
description = "Set lifecycle rule to delete all objects after lifecycle_delete_days days"
}
variable "lifecycle_delete_noncurrent" {
default = false
type = bool
description = "Set lifecycle rule to delete non-current objects after lifecycle_delete_days days"
}
variable "lifecycle_delete_days" {
default = 90
type = number
description = "If lifecycle_delete is true, delete objects after this many days"
}
variable "lifecycle_delete_prefix" {
default = []
type = list(string)
description = "Object prefixes to apply the lifecycle rule to for delete rule."
}
variable "lifecycle_nearline" {
default = false
type = bool
description = "Set lifecycle rule to move the objects to nearline storage after lifecycle_nearline_days days"
}
variable "lifecycle_nearline_days" {
default = 23
type = number
description = "If lifecycle_nearline is true, move objects to nearline storage after this many days"
}
variable "lifecycle_nearline_prefix" {
default = []
type = list(string)
description = "Object prefixes to apply the lifecycle rule to for nearline storage rule."
}
variable "versioning_enabled" {
default = false
type = bool
description = "whether to enable object versioning on this bucket"
}
variable "gcs_kms_key_self_link" {
type = string
description = "The full path to the encryption key used for gcs bucket."
default = ""
}