Skip to content

Commit 76918da

Browse files
committed
fix changes
1 parent a396891 commit 76918da

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

main.tf

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@ resource "aws_s3_bucket" "s3_default" {
3030
enabled = var.versioning
3131
}
3232

33+
logging {
34+
target_bucket = var.target_bucket
35+
target_prefix = var.target_prefix
36+
}
37+
server_side_encryption_configuration {
38+
rule {
39+
bucket_key_enabled = false
40+
apply_server_side_encryption_by_default {
41+
sse_algorithm = var.sse_algorithm
42+
}
43+
}
44+
}
45+
3346
lifecycle_rule {
3447
id = "transition-to-infrequent-access-storage"
3548
enabled = var.lifecycle_infrequent_storage_transition_enabled

0 commit comments

Comments
 (0)