File tree Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Expand file tree Collapse file tree 3 files changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -42,3 +42,8 @@ variable "IcalPublicDomain" {
4242 type = string
4343 default = " ical.acm.illinois.edu"
4444}
45+
46+ variable "AuditLogRetentionDays" {
47+ type = number
48+ default = 365
49+ }
Original file line number Diff line number Diff line change @@ -72,6 +72,15 @@ module "alarms" {
7272 archival_firehose_stream = module. archival . firehose_stream_name
7373}
7474
75+ module "auditlogs" {
76+ source = " ../../modules/auditlog"
77+ LogRetentionDays = var. LogRetentionDays
78+ DataExpirationDays = var. AuditLogRetentionDays
79+ BucketPrefix = local. bucket_prefix
80+ ProjectId = var. ProjectId
81+ RunEnvironment = " dev"
82+ }
83+
7584module "archival" {
7685 depends_on = [module . dynamo ]
7786 source = " ../../modules/archival"
Original file line number Diff line number Diff line change @@ -42,3 +42,8 @@ variable "PrioritySNSAlertArn" {
4242 type = string
4343 default = " arn:aws:sns:us-east-1:427040638965:infra-monitor-alerts"
4444}
45+
46+ variable "AuditLogRetentionDays" {
47+ type = number
48+ default = 365
49+ }
You can’t perform that action at this time.
0 commit comments