Skip to content

Commit 3e177c2

Browse files
authored
Merge pull request #401 from NHSDigital/bugfix/eja-add-dynamo-update-permission-for-github
bugfix - adding dynamoDB UpdateTable permissions to the Github OID role, to unblock dev deployments
2 parents b5c9b18 + 0fcd1f0 commit 3e177c2

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

infrastructure/stacks/iams-developer-roles/github_actions_policies.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@ resource "aws_iam_policy" "dynamodb_management" {
105105
"dynamodb:CreateTable",
106106
"dynamodb:TagResource",
107107
"dynamodb:ListTagsOfResource",
108+
"dynamodb:UpdateTable",
108109
],
109110
Resource = [
110111
"arn:aws:dynamodb:*:${data.aws_caller_identity.current.account_id}:table/*eligibility-signposting-api-${var.environment}-eligibility_datastore"

infrastructure/stacks/iams-developer-roles/iams_permissions_boundary.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ data "aws_iam_policy_document" "permissions_boundary" {
3636
"dynamodb:CreateTable",
3737
"dynamodb:TagResource",
3838
"dynamodb:ListTagsOfResource",
39+
"dynamodb:UpdateTable",
3940

4041
# EC2 - networking infrastructure
4142
"ec2:Describe*",

0 commit comments

Comments
 (0)