Skip to content

Commit 7736cc3

Browse files
committed
Actually init the module
1 parent e762e93 commit 7736cc3

File tree

3 files changed

+19
-0
lines changed

3 files changed

+19
-0
lines changed

terraform/envs/prod/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
}

terraform/envs/qa/main.tf

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
7584
module "archival" {
7685
depends_on = [module.dynamo]
7786
source = "../../modules/archival"

terraform/envs/qa/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff 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+
}

0 commit comments

Comments
 (0)