Skip to content

Commit da24293

Browse files
committed
eli-386 adding github permissions to make account level public access block changes
1 parent f1db991 commit da24293

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,14 @@ resource "aws_iam_policy" "s3_management" {
164164
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-truststore-access-logs",
165165
"arn:aws:s3:::*eligibility-signposting-api-${var.environment}-truststore-access-logs/*",
166166
]
167+
},
168+
{
169+
Effect = "Allow",
170+
Action = [
171+
"s3:GetAccountPublicAccessBlock",
172+
"s3:PutAccountPublicAccessBlock"
173+
],
174+
Resource = "*"
167175
}
168176
]
169177
})

0 commit comments

Comments
 (0)