From 2098c7568e796447c4a9229a73807a5082df5d9a Mon Sep 17 00:00:00 2001 From: gammazero Date: Thu, 7 Dec 2023 22:58:50 -0800 Subject: [PATCH] Allow dev to delete files from s3 bucket for gc --- deploy/infrastructure/dev/us-east-2/s3_adstore.tf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/deploy/infrastructure/dev/us-east-2/s3_adstore.tf b/deploy/infrastructure/dev/us-east-2/s3_adstore.tf index 8cff506e6..a8cb053f5 100644 --- a/deploy/infrastructure/dev/us-east-2/s3_adstore.tf +++ b/deploy/infrastructure/dev/us-east-2/s3_adstore.tf @@ -16,8 +16,7 @@ data "aws_iam_policy_document" "sti_s3_rw" { actions = [ "s3:PutObject", "s3:GetObject", - # TODO: Enable if needed. - # "s3:DeleteObject", + "s3:DeleteObject", "s3:ListBucket", ]