Skip to content

Commit

Permalink
BFD-3819: GitHub Actions IAM Role lacks permissions to manage IAM pol…
Browse files Browse the repository at this point in the history
…icies and KMS key policies (#2522)
  • Loading branch information
malessi authored Jan 14, 2025
1 parent 57bdb06 commit 938d25e
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion ops/terraform/env/mgmt/github-actions-iam.tf
Original file line number Diff line number Diff line change
Expand Up @@ -403,6 +403,14 @@ resource "aws_iam_policy" "github_actions_ci_ops" {
]
Resource = "*"
},
{
Sid = "AllowPolicyManagementOfAllKeys"
Effect = "Allow"
Action = [
"kms:PutKeyPolicy",
]
Resource = "*"
},
{
Sid = "AllowSNS"
Effect = "Allow"
Expand All @@ -427,7 +435,8 @@ resource "aws_iam_policy" "github_actions_ci_ops" {
Action = [
"iam:Get*",
"iam:List*",
"iam:DeletePolicyVersion"
"iam:DeletePolicyVersion",
"iam:CreatePolicyVersion"
]
Resource = "*"
},
Expand Down

0 comments on commit 938d25e

Please sign in to comment.