Skip to content

Commit

Permalink
fix changes
Browse files Browse the repository at this point in the history
  • Loading branch information
anmolnagpal committed Sep 6, 2021
1 parent a396891 commit 76918da
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,19 @@ resource "aws_s3_bucket" "s3_default" {
enabled = var.versioning
}

logging {
target_bucket = var.target_bucket
target_prefix = var.target_prefix
}
server_side_encryption_configuration {
rule {
bucket_key_enabled = false
apply_server_side_encryption_by_default {
sse_algorithm = var.sse_algorithm
}
}
}

lifecycle_rule {
id = "transition-to-infrequent-access-storage"
enabled = var.lifecycle_infrequent_storage_transition_enabled
Expand Down

0 comments on commit 76918da

Please sign in to comment.