Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow sdlf-team to create consistent user groups for a team #120

Open
wants to merge 12 commits into
base: main
Choose a base branch
from
11 changes: 11 additions & 0 deletions sdlf-cicd/template-cicd-child-foundations.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -200,6 +200,7 @@ Resources:
- iam:UntagRole
- iam:UpdateRole
- iam:UpdateRoleDescription
- iam:UpdateAssumeRolePolicy # so we can update the management account access
- Resource: !Sub arn:aws:iam::${AWS::AccountId}:policy/sdlf-*
Effect: Allow
Action:
Expand All @@ -209,6 +210,16 @@ Resources:
- iam:DeletePolicyVersion
- iam:GetPolicy
- iam:GetPolicyVersion
- Resource: !Sub arn:aws:iam::${AWS::AccountId}:group/sdlf-*
Effect: Allow
Action:
- iam:CreateGroup
- iam:DeleteGroup
- iam:GetGroup*
- iam:AttachGroupPolicy
- iam:PutGroupPolicy
- iam:DeleteGroupPolicy
- iam:DetachGroupPolicy
- Resource: "*"
Effect: "Allow"
Action: lambda:ListFunctions
Expand Down