-
Notifications
You must be signed in to change notification settings - Fork 15
Gomboc Fix for #21 - aws/terraform/s3-default #22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -60,3 +60,9 @@ resource "aws_s3_object" "uut" { | |
| key = "helloworld" | ||
| source = "files/test.txt" | ||
| } | ||
| resource "aws_s3_bucket_versioning" "my_aws_s3_bucket_versioning_aws_s3_bucket_uut" { | ||
| bucket = aws_s3_bucket.uut.id | ||
| versioning_configuration { | ||
| status = "Enabled" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The By enabling versioning on your S3 bucket, you protect your data against unintended overwrites and deletions. Each version of an object is preserved, allowing for recovery and rollback of previous states. This is particularly important for production environments where data integrity and recovery are critical. Without this configuration, you risk losing access to previous versions of your data, which could lead to significant operational disruptions. Leave feedbackPlease post on our discussions channel. You can provide the following reference: 4a929e622cad2d797ae13276acd699f65ca334eae2c9d1f86e9dfb81ac55ad46 |
||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The
statusattribute within theversioning_configurationblock of theaws_s3_bucket_versioningresource was set to"Enabled". This change ensures that versioning is active for the associated AWS S3 bucket.By enabling versioning on your S3 bucket, you protect your data against unintended overwrites and deletions. Each version of an object is preserved, allowing for recovery and rollback of previous states. This is particularly important for production environments where data integrity and recovery are critical. Without this configuration, you risk losing access to previous versions of your data, which could lead to significant operational disruptions.
Leave feedback
Please post on our discussions channel. You can provide the following reference: 4a929e622cad2d797ae13276acd699f65ca334eae2c9d1f86e9dfb81ac55ad46