Skip to content

Commit 8f03bee

Browse files
authored
feat: add account assignement permission for Bot (#377)
1 parent 8ed51b5 commit 8f03bee

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

terragrunt/org_account/roles/sre_bot.tf

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,16 @@ data "aws_iam_policy_document" "sre_bot_policy" {
6565
]
6666
resources = ["*"]
6767
}
68+
69+
statement {
70+
sid = "ManageSSOAssignments"
71+
effect = "Allow"
72+
actions = [
73+
"sso:ListAccountAssignmentsForPrincipal",
74+
"sso:CreateAccountAssignment"
75+
]
76+
resources = ["*"]
77+
}
6878
}
6979

7080
resource "aws_iam_policy" "sre_bot_policy" {

0 commit comments

Comments
 (0)