-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
66 lines (57 loc) · 1.54 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
variable "oidc_provider_url" {
type = string
description = "OpenID Connect provider URL from the EKS cluster"
}
variable "oidc_provider_arn" {
type = string
description = "OpenID Connect provider ARN"
}
variable "region" {
type = string
description = "AWS region"
default = "eu-west-1"
}
variable "deployment_name" {
type = string
description = "Unique name for the deployment. This should match the deployment name of the environment to be backed up"
}
variable "s3_bucket" {
type = object({
name = string
region = string
acl = string
lifecycle_id = string
enabled = bool
expiration_days = number
tags = map(string)
})
description = "S3 bucket configuration requirements"
}
variable "namespace" {
type = string
description = "Namespace containing the database. All items will be deployed in this namespace"
}
variable "backup" {
type = bool
description = "Flag to set whether to install module or not. See README for a full explaination"
default = false
}
variable "schedule" {
type = string
description = "cron schedule - defaults to 1 minute past midnight 24/7"
default = "1 0 * * *"
}
variable "mongodb" {
type = object({
service_name = string
replica_set = string
port = string
database = string
})
default = {
service_name = "mongodb-headless"
replica_set = "rs0"
port = "27017"
database = "beekeeper-new"
}
}