Skip to content

Commit

Permalink
feat: Cloudtrail logging for s3 events
Browse files Browse the repository at this point in the history
  • Loading branch information
shivawandb committed Jan 27, 2025
1 parent 636f662 commit 147ca0e
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 @@ -103,7 +103,7 @@ resource "aws_cloudtrail" "s3_event_logs" {
data_resource {
type = "AWS::S3::Object"
values = [
"arn:aws:s3:::${aws_s3_bucket.cloudtrail_logs[0].id}" # Specific bucket ARN
"arn:aws:s3:::${aws_s3_bucket.cloudtrail_logs[0].id}/*"
]
}
}
Expand Down

0 comments on commit 147ca0e

Please sign in to comment.