Skip to content

Commit

Permalink
Merge pull request #8715 from ministryofjustice/fix/turn-off-replicat…
Browse files Browse the repository at this point in the history
…ion-bucket-backup

Disabling backups on the replication + related buckets
  • Loading branch information
julialawrence authored Nov 19, 2024
2 parents a8fb9b2 + 3abe20f commit 0a01820
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions terraform/environments/analytical-platform-compute/s3-buckets.tf
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,10 @@ module "mojap_derived_tables_replication_bucket" {
target_prefix = "mojap-derived-tables-replication/"
}

tags = local.tags
tags = merge(
local.tags,
{ "backup" = "false" }
)
}

data "aws_iam_policy_document" "s3_server_access_logs_eu_west_2_policy" {
Expand Down Expand Up @@ -152,7 +155,10 @@ module "mojap_compute_logs_bucket_eu_west_2" {
}
}

tags = local.tags
tags = merge(
local.tags,
{ "backup" = "false" }
)
}

data "aws_iam_policy_document" "s3_server_access_logs_eu_west_1_policy" {
Expand Down Expand Up @@ -208,7 +214,10 @@ module "mojap_compute_logs_bucket_eu_west_1" {
}
}

tags = local.tags
tags = merge(
local.tags,
{ "backup" = "false" }
)
}

moved {
Expand Down

0 comments on commit 0a01820

Please sign in to comment.