Skip to content

Commit

Permalink
Fix management account config alias through ADF account management (#596
Browse files Browse the repository at this point in the history
)
  • Loading branch information
sbkok committed May 27, 2024
1 parent 0775e24 commit 6dd2860
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ Resources:
- Effect: Allow
Action:
- cloudformation:ValidateTemplate
- iam:CreateAccountAlias
- iam:DeleteAccountAlias
- iam:ListAccountAliases
- ssm:PutParameter
- ssm:GetParameters
- ssm:GetParameter
Expand Down
9 changes: 0 additions & 9 deletions src/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -359,15 +359,6 @@ Resources:
- lambda.amazonaws.com
Action: "sts:AssumeRole"
Path: "/aws-deployment-framework/account-management/"
Policies:
- PolicyName: "adf-lambda-create-account-alias-policy"
PolicyDocument:
Version: "2012-10-17"
Statement:
- Effect: Allow
Action:
- "iam:CreateAccountAlias"
Resource: "*"

AccountAliasConfigFunction:
Type: 'AWS::Serverless::Function'
Expand Down

0 comments on commit 6dd2860

Please sign in to comment.