fix(iam): split paychex plan lambda list onto Resource *

This commit is contained in:
Adam Moussa 2026-08-27 17:40:05 -04:00
parent 0c05f629b3
commit 7348ab9845
No known key found for this signature in database

View file

@ -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: