generated from notablehealth/terraform-aws-module-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
55 lines (51 loc) · 1.17 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
###------------
### Naming (label) information
###------------
variable "name_s3" {
description = "S3 bucket name (functional name ONLY)"
type = string
}
variable "namespace" {
description = "Namespace of resources"
type = string
}
variable "stage" {
description = "Deployment stage of resources"
type = string
}
###------------
### S3 Lifecycle
###------------
variable "s3_expiration" {
description = "Expire current S3 objects in days"
type = number
default = 14
}
variable "s3_expiration_noncurrent_days" {
description = "Expire noncurrent S3 objects in days"
type = number
default = 1
}
variable "s3_expiration_noncurrent_versions" {
description = "Expire noncurrent S3 objects versions (Versions to keep)"
type = number
default = 1
}
###------------
### SES
###------------
variable "ses_domain" {
description = "SES domain"
type = string
}
variable "ses_rule_set_name" {
description = "SES Rule set andm and S3 prefix"
type = string
}
variable "ses_rules" {
description = "SES receipt rules"
type = map(object({
prefix = string
recipients = list(string)
}))
}