From 0a6740c132acfa758795e1a4a571b05da1f577a4 Mon Sep 17 00:00:00 2001 From: David Read Date: Tue, 2 Oct 2018 15:19:11 +0100 Subject: [PATCH 1/2] Remove option that AWS doesnt allow - see https://github.com/hashicorp/terraform/issues/9119 --- infra/terraform/modules/data_backup/s3.tf | 1 - 1 file changed, 1 deletion(-) diff --git a/infra/terraform/modules/data_backup/s3.tf b/infra/terraform/modules/data_backup/s3.tf index c74a01739..164964f37 100644 --- a/infra/terraform/modules/data_backup/s3.tf +++ b/infra/terraform/modules/data_backup/s3.tf @@ -35,7 +35,6 @@ resource "aws_s3_bucket" "nfs_backup" { expiration { days = 90 - expired_object_delete_marker = true } noncurrent_version_transition { From 08cb1603d251fe2b8e4b7cf68c804d10e4f4c1b7 Mon Sep 17 00:00:00 2001 From: David Read Date: Wed, 3 Oct 2018 15:51:13 +0100 Subject: [PATCH 2/2] Fix whitespace --- infra/terraform/modules/data_backup/s3.tf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/infra/terraform/modules/data_backup/s3.tf b/infra/terraform/modules/data_backup/s3.tf index 164964f37..29a25feb7 100644 --- a/infra/terraform/modules/data_backup/s3.tf +++ b/infra/terraform/modules/data_backup/s3.tf @@ -34,7 +34,7 @@ resource "aws_s3_bucket" "nfs_backup" { } expiration { - days = 90 + days = 90 } noncurrent_version_transition {