From a1c8f1d11a31ad806630990c9b0d05ed00993f5e Mon Sep 17 00:00:00 2001 From: Daniel van der Ploeg Date: Fri, 3 May 2024 10:17:16 +0930 Subject: [PATCH 1/2] feat: add ttl permission --- packages/serverless-deploy-iam/bin/app.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/serverless-deploy-iam/bin/app.ts b/packages/serverless-deploy-iam/bin/app.ts index 74f6f8c..9ed45f7 100755 --- a/packages/serverless-deploy-iam/bin/app.ts +++ b/packages/serverless-deploy-iam/bin/app.ts @@ -188,6 +188,7 @@ export class ServiceDeployIAM extends cdk.Stack { "dynamodb:ListTagsOfResource", "dynamodb:TagResource", "dynamodb:UntagResource", + "dynamodb:*TimeToLive" ], }, { From 41edb0dfceefc7accf40bd8fa23d52de8912005c Mon Sep 17 00:00:00 2001 From: Daniel van der Ploeg Date: Fri, 3 May 2024 10:21:09 +0930 Subject: [PATCH 2/2] chore: add trailing comma --- packages/serverless-deploy-iam/bin/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/serverless-deploy-iam/bin/app.ts b/packages/serverless-deploy-iam/bin/app.ts index 9ed45f7..cebeaed 100755 --- a/packages/serverless-deploy-iam/bin/app.ts +++ b/packages/serverless-deploy-iam/bin/app.ts @@ -188,7 +188,7 @@ export class ServiceDeployIAM extends cdk.Stack { "dynamodb:ListTagsOfResource", "dynamodb:TagResource", "dynamodb:UntagResource", - "dynamodb:*TimeToLive" + "dynamodb:*TimeToLive", ], }, {