Skip to content

Commit

Permalink
feat: add delete_marker_replication_status in replication rules (#126)
Browse files Browse the repository at this point in the history
Co-authored-by: cloudpossebot <[email protected]>
  • Loading branch information
DesmondH0 and cloudpossebot authored Jan 11, 2022
1 parent 816e61a commit 7932c20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -173,6 +173,8 @@ resource "aws_s3_bucket" "default" {
# is required even if it empty, so we always implement `prefix` as a filter.
# OBSOLETE: prefix = try(rules.value.prefix, null)
status = try(rules.value.status, null)
# The `Delete marker replication` was disabled by default since empty filter created in Line 210, this needed to be "Enabled" to turn it on
delete_marker_replication_status = try(rules.value.delete_marker_replication_status, null)

destination {
# Prefer newer system of specifying bucket in rule, but maintain backward compatibility with
Expand Down
1 change: 1 addition & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,7 @@ variable "s3_replication_rules" {
# priority = number
# prefix = string
# status = string
# delete_marker_replication_status = string
# # destination_bucket is specified here rather than inside the destination object
# # to make it easier to work with the Terraform type system and create a list of consistent type.
# destination_bucket = string # destination bucket ARN, overrides s3_replica_bucket_arn
Expand Down

0 comments on commit 7932c20

Please sign in to comment.