diff --git a/modules/file_storage/main.tf b/modules/file_storage/main.tf index 39ced492a..809975991 100644 --- a/modules/file_storage/main.tf +++ b/modules/file_storage/main.tf @@ -67,6 +67,12 @@ resource "aws_s3_bucket_server_side_encryption_configuration" "file_storage" { } } +resource "aws_s3_bucket_versioning" "file_storage" { + bucket = aws_s3_bucket.file_storage.id + versioning_configuration { + status = "Enabled" + } +}