diff --git a/tf/modules/oonidevops_github_user/templates/oonidevops_github_policy.json b/tf/modules/oonidevops_github_user/templates/oonidevops_github_policy.json index d5c45a7b..634b0e89 100644 --- a/tf/modules/oonidevops_github_user/templates/oonidevops_github_policy.json +++ b/tf/modules/oonidevops_github_user/templates/oonidevops_github_policy.json @@ -51,7 +51,6 @@ "codestar-notifications:listNotificationRules", "codestar-notifications:listTagsForResource", "codestar-notifications:ListTargets", - "dynamodb:*", "ec2:Describe*", "ec2:Get*", "ec2:ListImagesInRecycleBin", @@ -156,6 +155,13 @@ ], "Effect": "Allow", "Resource": "*" + }, + { + "Action": [ + "dynamodb:*" + ], + "Effect": "Allow", + "Resource": "arn:aws:dynamodb:eu-central-1:905418398257:table/oonidevops-dev-terraform-state-lock" } ], "Version": "2012-10-17"