Skip to content

Commit

Permalink
Grant extra permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
MuriloDalRi committed Oct 15, 2024
1 parent f645ad6 commit 7c1ae9c
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions terraform/deployments/tfc-aws-config/aws_oidc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,20 @@ data "aws_iam_policy_document" "tfc_policy" {
actions = ["iam:*User"]
resources = ["arn:aws:iam::*:user/govuk-*-transition-downloader"]
}
statement {
actions = ["iam:GetUser"]
resources = [
"arn:aws:iam::*:user/govuk-*-fastly-logs-writer",
"arn:aws:iam::*:user/govuk-*-transition-downloader"
]
}
statement {
actions = [
"athena:GetNamedQuery",
"athena:ListNamedQueries"
]
resources = ["*"]
}
statement {
effect = "Deny"
resources = ["*"]
Expand Down

0 comments on commit 7c1ae9c

Please sign in to comment.