Skip to content

Commit 7932c20

Browse files
feat: add delete_marker_replication_status in replication rules (#126)
Co-authored-by: cloudpossebot <[email protected]>
1 parent 816e61a commit 7932c20

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

main.tf

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,8 @@ resource "aws_s3_bucket" "default" {
173173
# is required even if it empty, so we always implement `prefix` as a filter.
174174
# OBSOLETE: prefix = try(rules.value.prefix, null)
175175
status = try(rules.value.status, null)
176+
# The `Delete marker replication` was disabled by default since empty filter created in Line 210, this needed to be "Enabled" to turn it on
177+
delete_marker_replication_status = try(rules.value.delete_marker_replication_status, null)
176178

177179
destination {
178180
# Prefer newer system of specifying bucket in rule, but maintain backward compatibility with

variables.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ variable "s3_replication_rules" {
190190
# priority = number
191191
# prefix = string
192192
# status = string
193+
# delete_marker_replication_status = string
193194
# # destination_bucket is specified here rather than inside the destination object
194195
# # to make it easier to work with the Terraform type system and create a list of consistent type.
195196
# destination_bucket = string # destination bucket ARN, overrides s3_replica_bucket_arn

0 commit comments

Comments
 (0)