Repository navigation
Expand file tree
/
Copy pathvariables.tf
More file actions
75 lines (64 loc) · 2.27 KB
/
Copy pathvariables.tf
File metadata and controls
75 lines (64 loc) · 2.27 KB
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
variable "region" {
type = string
default = "eu-central-1"
description = "Region for the API, data and identity resources."
}
variable "name" {
type = string
default = "wiki-serverless"
description = "Prefix of every resource name. Bucket names add the account id."
}
variable "demo" {
type = bool
default = true
description = "Public demo: the sign-in screen shows and fills in the admin sign-in. Turn off for a private wiki."
}
variable "admin_email" {
type = string
default = "admin@example.com"
description = "Sign-in of the demo administrator. Self-registration is disabled."
}
variable "admin_password" {
type = string
default = "admin123"
sensitive = true
description = "Password of the demo administrator. The hourly reset puts it back."
}
variable "password_min_length" {
type = number
default = 8
description = "Minimum password length. The pool also asks for a lower case letter and a digit."
}
variable "invite_emails" {
type = bool
default = false
description = "Send invitation emails. Off for a public demo, so it cannot be used to send mail to strangers."
}
variable "file_max_bytes" {
type = number
default = 10485760
description = "Maximum size of one attached file."
}
variable "reset_schedule" {
type = string
default = "rate(1 hour)"
description = "When the demo is wiped back to its initial state. An empty string turns the reset off."
}
variable "access_logs_bucket" {
type = string
default = ""
description = "Bucket that the access logs of this site go to, such as the logs_bucket of an overview of the account (Tozapid/account-serverless-aws): the standard logs (v2) of the distribution under cloudfront/<name>/. Its policy has to let delivery.logs.amazonaws.com write there. Empty: no access logs."
}
variable "tags" {
type = map(string)
default = {
Managed = "IAC"
Project = "wiki-serverless-aws"
}
description = "Tags applied to supported resources."
}
variable "releases_repository" {
type = string
default = "Tozapid/wiki-serverless-aws"
description = "GitHub repository (owner/name) whose releases the settings compare the version of the site with. Empty turns the check off."
}