Skip to content

Commit

Permalink
change versioning status from Disabled to Suspended
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Sep 21, 2022
1 parent 06e6507 commit 62d3a67
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,3 +145,7 @@ This works with the Terraform AWS provider 4.x, released 2022-02.
* 3.3.2 -- 2022-07-28
- common
- change aws_s3_bucket_object to aws_s3_object

* 3.3.3 -- 2022-09-21
- common
- change aws_s3_bucket_versioning default if disabled to Suspended
3 changes: 2 additions & 1 deletion common/resources.tf
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,8 @@ resource "aws_s3_bucket_server_side_encryption_configuration" "this" {
resource "aws_s3_bucket_versioning" "this" {
bucket = aws_s3_bucket.this.id
versioning_configuration {
status = local.versioning ? "Enabled" : "Disabled"
# status = local.versioning ? "Enabled" : "Disabled"
status = local.versioning ? "Enabled" : "Suspended"
}
}

Expand Down
2 changes: 1 addition & 1 deletion common/version.tf
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
locals {
_module_version = "3.3.2"
_module_version = "3.3.3"
}

0 comments on commit 62d3a67

Please sign in to comment.