From 8687136c9153a8fa35d2068e1fe46e08b188feb5 Mon Sep 17 00:00:00 2001 From: Zachary Winnerman <98712682+zwinnerman-fleetdm@users.noreply.github.com> Date: Mon, 2 Jan 2023 15:04:05 -0500 Subject: [PATCH] Allow workspace delete to work (#9150) --- infrastructure/infrastructure/terraform/main.tf | 1 + 1 file changed, 1 insertion(+) diff --git a/infrastructure/infrastructure/terraform/main.tf b/infrastructure/infrastructure/terraform/main.tf index 4e81a2da59..6f7a452327 100644 --- a/infrastructure/infrastructure/terraform/main.tf +++ b/infrastructure/infrastructure/terraform/main.tf @@ -107,6 +107,7 @@ data "aws_iam_policy_document" "main" { actions = [ "s3:GetObject", "s3:PutObject", + "s3:DeleteObject", ] resources = ["${module.remote-state-s3-backend.state_bucket.arn}/${each.key}/*"] }