mirror of
https://github.com/Sea-Haven-Industries/seahaven-org-baseline.git
synced 2026-10-07 16:08:55 +00:00
fix(iam): split paychex plan lambda list onto Resource *
This commit is contained in:
parent
0c05f629b3
commit
7348ab9845
1 changed files with 7 additions and 1 deletions
|
|
@ -792,9 +792,15 @@ Resources:
|
|||
Effect: Allow
|
||||
Action:
|
||||
- lambda:Get*
|
||||
- lambda:List*
|
||||
Resource:
|
||||
- !Sub "arn:aws:lambda:us-east-1:${AWS::AccountId}:function:paychex-*"
|
||||
# Collection/list APIs authorize only against Resource "*".
|
||||
- Sid: RefreshLambdaList
|
||||
Effect: Allow
|
||||
Action:
|
||||
- lambda:ListFunctions
|
||||
- lambda:GetAccountSettings
|
||||
Resource: "*"
|
||||
- Sid: RefreshArtifactsBucket
|
||||
Effect: Allow
|
||||
Action:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue