From 7c3af19d576b44e0f18865b9f69ece81a1865e97 Mon Sep 17 00:00:00 2001 From: vggonzal <9Tcostoamm> Date: Wed, 16 Aug 2023 00:27:05 -0700 Subject: [PATCH] dynamodb has data - testing --- terraform/hydrocron-lambda-iam.tf | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/terraform/hydrocron-lambda-iam.tf b/terraform/hydrocron-lambda-iam.tf index 03fd21b..2ee7b0c 100644 --- a/terraform/hydrocron-lambda-iam.tf +++ b/terraform/hydrocron-lambda-iam.tf @@ -23,7 +23,18 @@ resource "aws_iam_policy" "hydrocron-service-policy" { "ssm:GetParameter", "ec2:CreateNetworkInterface", "ec2:DescribeNetworkInterfaces", - "ec2:DeleteNetworkInterface" + "ec2:DeleteNetworkInterface", + "dynamodb:BatchGet*", + "dynamodb:DescribeStream", + "dynamodb:DescribeTable", + "dynamodb:Get*", + "dynamodb:Query", + "dynamodb:Scan", + "dynamodb:BatchWrite*", + "dynamodb:CreateTable", + "dynamodb:Delete*", + "dynamodb:Update*", + "dynamodb:PutItem" ], "Resource": "*" },