Skip to content

Commit

Permalink
Auto Format
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudpossebot committed Dec 6, 2021
1 parent 3764edb commit 1249064
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions examples/complete/replication.tf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ locals {
replication_enabled = length(var.s3_replication_rules) > 0
replication_rules = local.replication_enabled ? [
{
id = "replication-test"
status = "Enabled"
prefix = "/main"
id = "replication-test"
status = "Enabled"
prefix = "/main"
destination = null
},
{
Expand All @@ -13,7 +13,7 @@ locals {
prefix = "/extra"
priority = 5
destination_bucket = module.s3_bucket_replication_target_extra[0].bucket_arn
destination = null
destination = null
},
{
id = "replication-test-metrics"
Expand All @@ -28,7 +28,7 @@ locals {
}
}
] : null
s3_replication_rules = local.replication_enabled ? local.replication_rules: null
s3_replication_rules = local.replication_enabled ? local.replication_rules : null
}

module "s3_bucket_replication_target" {
Expand Down

0 comments on commit 1249064

Please sign in to comment.