-
Notifications
You must be signed in to change notification settings - Fork 0
/
variables.tf
63 lines (51 loc) · 1.79 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
variable "s3_audit_bucket_name" {
description = "Name of the S3 audit bucket"
}
variable "s3_audit_bucket_acl" {
default = "private"
description = "ACL of the S3 audit bucket"
}
variable "s3_audit_bucket_versioning" {
default = "true"
description = "Should the audit bucket be versioned"
}
variable "s3_audit_log_prefix" {
default = "AWSLogs/"
description = "Prefix of where AWS cloud logs are stored"
}
variable "s3_audit_bucket_lifecycle_id" {
default = "aws-logs"
description = "ID for the lifecycle rule on the bucket"
}
variable "s3_audit_bucket_lifecycle_enabled" {
default = "true"
description = "Should the lifecycle policy be enabled on the audit bucket"
}
variable "s3_audit_bucket_transition_standard_ia" {
default = 30
description = "Days after current version created until transition to standard infrequent access"
}
variable "s3_audit_bucket_transition_non_current_standard_ia" {
default = 30
description = "Days after non current version created until transition to standard infrequent access"
}
variable "s3_audit_bucket_transition_glacier" {
default = 90
description = "Days after current version created until transition to glacier"
}
variable "s3_audit_bucket_transition_non_current_glacier" {
default = 60
description = "Days after non current version created until transition to glacier"
}
variable "s3_audit_bucket_expiration" {
default = 455
description = "Days until current object is expired and deleted"
}
variable "s3_audit_bucket_expiration_non_current" {
default = 455
description = "Days until non current version object is expired and deleted"
}
variable "ct_account_id_list" {
type = "list"
description = "List of account ids to allow writing of cloudtrail logs to the audit bucket"
}