File tree Expand file tree Collapse file tree
infrastructure/stacks/iams-developer-roles Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -815,7 +815,7 @@ data "aws_iam_policy_document" "regression_test_permissions" {
815815 " s3:GetObjectTagging" ,
816816 " s3:PutObjectTagging" ,
817817 " s3:GetObjectVersion"
818- ],
818+ ]
819819 resources = [
820820 " arn:aws:s3:::*eligibility-signposting-api-${ var . environment } -eli-rules" ,
821821 " arn:aws:s3:::*eligibility-signposting-api-${ var . environment } -eli-rules/*" ,
@@ -835,9 +835,7 @@ data "aws_iam_policy_document" "regression_test_permissions" {
835835 " dynamodb:UpdateItem" ,
836836 " dynamodb:DeleteItem" ,
837837 " dynamodb:DescribeTable" ,
838- " dynamodb:ListTables" ,
839838 " dynamodb:DeleteTable" ,
840- " dynamodb:CreateTable" ,
841839 " dynamodb:TagResource" ,
842840 " dynamodb:UntagResource" ,
843841 " dynamodb:ListTagsOfResource"
@@ -847,6 +845,16 @@ data "aws_iam_policy_document" "regression_test_permissions" {
847845 ]
848846 }
849847
848+ statement {
849+ sid = " DynamoGlobal"
850+ effect = " Allow"
851+ actions = [
852+ " dynamodb:ListTables" ,
853+ " dynamodb:CreateTable"
854+ ]
855+ resources = [" *" ]
856+ }
857+
850858 statement {
851859 sid = " SecretsManagerAccess"
852860 effect = " Allow"
You can’t perform that action at this time.
0 commit comments