Skip to content

Commit

Permalink
fix: add all necessary permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
EreminAnton committed Feb 1, 2024
1 parent a013477 commit 6d35a0c
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions slack_handler_lambda.tf
Original file line number Diff line number Diff line change
Expand Up @@ -179,13 +179,21 @@ data "aws_iam_policy_document" "slack_handler" {
statement {
effect = "Allow"
actions = [
"sso:ListTagsForResource",
"sso:CreatePermissionSet",
"sso:ListTagsForResource",
"sso:TagResource",

"sso:AttachManagedPolicyToPermissionSet",
"sso:ListManagedPoliciesInPermissionSet",

"sso:ListCustomerManagedPolicyReferencesInPermissionSet",
"sso:AttachCustomerManagedPolicyReferenceToPermissionSet",

"sso:PutPermissionsBoundaryToPermissionSet",
"sso:GetPermissionsBoundaryForPermissionSet",

"sso:PutInlinePolicyToPermissionSet",
"sso:GetInlinePolicyForPermissionSet",
"sso:GetPermissionsBoundaryForPermissionSet",
]
resources = ["*"]
}
Expand Down

0 comments on commit 6d35a0c

Please sign in to comment.