diff --git a/examples/complete/replication.tf b/examples/complete/replication.tf index 1b408344..c21b78ef 100644 --- a/examples/complete/replication.tf +++ b/examples/complete/replication.tf @@ -7,7 +7,6 @@ locals { prefix = "/extra" priority = 5 destination_bucket = module.s3_bucket_replication_target_extra[0].bucket_arn - destination = null }, { id = "replication-test-metrics" diff --git a/examples/complete/replication.us-east-2.tfvars b/examples/complete/replication.us-east-2.tfvars index 3e9646ef..c4398ecd 100644 --- a/examples/complete/replication.us-east-2.tfvars +++ b/examples/complete/replication.us-east-2.tfvars @@ -25,6 +25,5 @@ s3_replication_rules = [ id = "replication-test" status = "Enabled" prefix = "/main" - destination = null } ] \ No newline at end of file diff --git a/variables.tf b/variables.tf index d1a725c4..a8718b2a 100644 --- a/variables.tf +++ b/variables.tf @@ -217,7 +217,7 @@ variable "s3_replication_rules" { # }) # })) - type = list(any) + type = any default = null description = "Specifies the replication rules for S3 bucket replication if enabled. You must also set s3_replication_enabled to true." }