From b67e215b863aa83c4214ec06bfda2eeae37ec7b5 Mon Sep 17 00:00:00 2001 From: Marcio Cruz de Almeida <67694075+marciocadev@users.noreply.github.com> Date: Mon, 15 Jul 2024 02:08:03 -0300 Subject: [PATCH] fix(dynamodb): adding the update policy (#290) --- dynamodb/dynamodb.tf-aws.w | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dynamodb/dynamodb.tf-aws.w b/dynamodb/dynamodb.tf-aws.w index 72ff61e5..e6247cae 100644 --- a/dynamodb/dynamodb.tf-aws.w +++ b/dynamodb/dynamodb.tf-aws.w @@ -132,6 +132,9 @@ pub class Table_tfaws impl dynamodb_types.ITable { if ops.contains("put") { actions.push("dynamodb:PutItem"); } + if ops.contains("update") { + actions.push("dynamodb:UpdateItem"); + } if ops.contains("scan") { actions.push("dynamodb:Scan"); }