File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
examples/single-account-ecs Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ module "cloudtrail" {
10
10
is_organizational = false
11
11
is_multi_region_trail = var. cloudtrail_is_multi_region_trail
12
12
cloudtrail_kms_enable = var. cloudtrail_kms_enable
13
+ s3_bucket_expiration_days = var. cloudtrail_s3_bucket_expiration_days
13
14
14
15
tags = var. tags
15
16
}
Original file line number Diff line number Diff line change @@ -26,7 +26,11 @@ variable "cloudtrail_kms_enable" {
26
26
description = " true/false whether cloudtrail delivered events to S3 should persist encrypted"
27
27
}
28
28
29
-
29
+ variable "cloudtrail_s3_bucket_expiration_days" {
30
+ type = number
31
+ default = 5
32
+ description = " Number of days that the logs will persist in the bucket"
33
+ }
30
34
#
31
35
# ecs, security group, vpc
32
36
#
You can’t perform that action at this time.
0 commit comments