-
Notifications
You must be signed in to change notification settings - Fork 5
/
variables.tf
216 lines (182 loc) · 5.38 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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
# AWS region variable
variable "region" {
type = string
description = "Deployment region."
default = "us-east-1"
}
# AWS configuration
variable "common-tags" {
type = map(string)
description = "A set of tags to attach to every created resource."
default = {}
}
variable "variants-bucket-prefix" {
type = string
description = "S3 bucket for storing vcf summaries used for duplicate variant searches"
default = "sbeacon-variants-"
}
variable "metadata-bucket-prefix" {
type = string
description = "S3 bucket for storing metadata"
default = "sbeacon-metadata-"
}
variable "lambda-layers-bucket-prefix" {
type = string
description = "S3 bucket for storing lambda layers"
default = "sbeacon-lambda-layers-"
}
# Beacon variables
variable "beacon-id" {
type = string
description = "Unique identifier of the beacon. Use reverse domain name notation."
default = "au.csiro.sbeacon"
}
variable "beacon-name" {
type = string
description = "Human readable name of the beacon."
default = "CSIRO Serverless Beacon"
}
variable "beacon-api-version" {
type = string
description = "Value for beacon api version"
default = "v2.0.0"
}
variable "beacon-environment" {
type = string
description = "Value for beacon environment"
default = "dev"
}
variable "beacon-description" {
type = string
description = "Value for beacon description"
default = "Serverless Beacon (sBeacon)"
}
variable "beacon-version" {
type = string
description = "Value for beacon version"
default = "v0.1.0"
}
variable "beacon-welcome-url" {
type = string
description = "Value for beacon welcome url"
default = "https://bioinformatics.csiro.au/"
}
variable "beacon-alternative-url" {
type = string
description = "Value for beacon alternative url"
default = "https://bioinformatics.csiro.au/"
}
variable "beacon-create-datetime" {
type = string
description = "Value for beacon create datetime"
default = "2018-11-26H00:00:00Z"
}
variable "beacon-update-datetime" {
type = string
description = "Value for beacon update datetime"
default = "2023-03-16H00:00:00Z"
}
variable "beacon-handovers" {
type = string
description = "Value for beacon handovers (use a stringified array)"
default = "[]"
}
variable "beacon-documentation-url" {
type = string
description = "Value for beacon documentation url"
default = "https://github.com/EGA-archive/beacon2-ri-api"
}
variable "beacon-default-granularity" {
type = string
description = "Value for beacon default granularity"
default = "boolean"
}
variable "beacon-uri" {
type = string
description = "Value for beacon-uri"
default = "https://beacon.csiro.au"
}
# Organisation variables
variable "organisation-id" {
type = string
description = "Unique identifier of the organisation providing the beacon."
default = "CSIRO"
}
variable "organisation-name" {
type = string
description = "Name of the organisation providing the beacon."
default = "CSIRO"
}
variable "beacon-org-description" {
type = string
description = "Value for beacon organisation description"
default = "CSIRO, Australia"
}
variable "beacon-org-address" {
type = string
description = "Value for beacon orgisation adress"
default = "AEHRC, Westmead NSW, Australia"
}
variable "beacon-org-welcome-url" {
type = string
description = "Value for beacon organisation welcome url"
default = "https://bioinformatics.csiro.au/"
}
variable "beacon-org-contact-url" {
type = string
description = "Value for beacon organisation contact url"
default = "https://bioinformatics.csiro.au/get-in-touch/"
}
variable "beacon-org-logo-url" {
type = string
description = "Value for beacon organisation logo url"
default = "https://raw.githubusercontent.com/aehrc/terraform-aws-serverless-beacon/master/assets/logo-tile.png"
}
# Beacon service variables
variable "beacon-service-type-group" {
type = string
description = "Value for beacon service type group"
default = "au.csiro"
}
variable "beacon-service-type-artifact" {
type = string
description = "Value for beacon service type artifact"
default = "beacon"
}
variable "beacon-service-type-version" {
type = string
description = "Value for beacon service type version"
default = "1.0"
}
# auth configurations
variable "beacon-enable-auth" {
type = bool
description = "Flag to enable API authentication"
default = false
}
variable "beacon-guest-username" {
type = string
description = "Value for guest username (must be an email)"
default = "guest@example.com"
}
variable "beacon-guest-password" {
type = string
description = "Value for guest password"
default = "guest1234"
}
variable "beacon-admin-username" {
type = string
description = "Value for admin username (must be an email)"
default = "admin@example.com"
}
variable "beacon-admin-password" {
type = string
description = "Value for admin password"
default = "admin1234"
}
# configuration variables
variable "config-max-variant-search-base-range" {
type = number
description = "Max allowed range for variant searching"
default = 5000
}