Skip to content

Commit

Permalink
Merge pull request #15 from quantum-sec/fix/EN-469
Browse files Browse the repository at this point in the history
EN-469: Add versioning_enabled to log S3 bucket (fix)
  • Loading branch information
Gerard Setho authored Jul 7, 2021
2 parents dceb74c + 21b2511 commit e49f4b1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/aws-s3-private/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ resource "aws_s3_bucket" "private_s3_logs" {
bucket = local.logging_bucket_name
acl = "log-delivery-write"

versioning {
enabled = var.versioning_enabled
}

server_side_encryption_configuration {
rule {
apply_server_side_encryption_by_default {
Expand Down

0 comments on commit e49f4b1

Please sign in to comment.