Skip to content

Commit

Permalink
feat: Cloudtrail logging for s3 events (#335)
Browse files Browse the repository at this point in the history
  • Loading branch information
shivawandb authored Jan 30, 2025
1 parent 55f6b1a commit 27ad989
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/cloudtrail/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ resource "aws_s3_bucket_lifecycle_configuration" "cloudtrail_logs" {

# CloudTrail Configuration
resource "aws_cloudtrail" "s3_event_logs" {
name = "s3-events-cloudtrail"
name = "${var.namespace}-s3-events-cloudtrail"
s3_bucket_name = aws_s3_bucket.cloudtrail_logs.id
include_global_service_events = var.include_global_service_events
is_multi_region_trail = var.multi_region_trail
Expand Down

0 comments on commit 27ad989

Please sign in to comment.