From e788d17eb4a660481615ba96e61c1db037dc226e Mon Sep 17 00:00:00 2001 From: Markus Tacker Date: Thu, 12 Nov 2020 16:13:49 +0100 Subject: [PATCH] fix(firmware-ci): allow deletion of firmware files --- cdk/resources/FirmwareCI.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdk/resources/FirmwareCI.ts b/cdk/resources/FirmwareCI.ts index c3528d34..9177914d 100644 --- a/cdk/resources/FirmwareCI.ts +++ b/cdk/resources/FirmwareCI.ts @@ -119,7 +119,7 @@ export class FirmwareCI extends CloudFormation.Resource { ciUser.addToPolicy( new IAM.PolicyStatement({ resources: [`${this.bucket.bucketArn}/*`], - actions: ['s3:PutObject'], + actions: ['s3:PutObject', 's3:DeleteObject'], }), )