feat(iam): allow meal-order-manager to send to paychex-checkcomponents (PLAT-135) (#140)
Some checks are pending
Deploy / deploy-management (push) Waiting to run
Deploy / deploy-external-dev (push) Waiting to run
Deploy / deploy-security (push) Waiting to run
Deploy / deploy-dev (push) Waiting to run
Deploy / deploy-prod (push) Waiting to run

This commit is contained in:
Adam Moussa 2026-09-09 23:58:42 +00:00 • committed by GitHub
parent 6bc4f6e095
commit fa940e69c6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -143,7 +143,7 @@ Description: >-
# seahaven-lambda-execution-boundary-afi-backup-monitor: 952 / 5 statements
# seahaven-lambda-execution-boundary-front-integrations: 1532 / 6 statements
# seahaven-lambda-execution-boundary-procurement-ingest: 3977 / 11 statements
# seahaven-lambda-execution-boundary-meal-order-manager: 2380 / 10 statements
# seahaven-lambda-execution-boundary-meal-order-manager: 2530 / 11 statements (PLAT-135)
# seahaven-lambda-execution-boundary-seahaven-site: 1159 / 6 statements
# seahaven-lambda-execution-boundary-seahaven-door-unlock-api: measure after deploy (PLAT-76)
# seahaven-lambda-execution-boundary-paychex-integrations: GetSecretValue on six minted ARNs (PLAT-122)
@ -1089,6 +1089,18 @@ Resources:
Resource:
- !Sub "arn:aws:sns:us-east-1:${AWS::AccountId}:site-alerts"
- !Ref AWS::NoValue
# aggregate-orders enqueues the weekly meal-deduction payload onto
# paychex-integrations' checkcomponents queue (PLAT-135). Send only;
# the paychex processor owns receive/delete.
- !If
- IsProdAccount
- Sid: MealOrderManagerSqs
Effect: Allow
Action:
- sqs:SendMessage
Resource:
- !Sub "arn:aws:sqs:us-east-1:${AWS::AccountId}:paychex-checkcomponents"
- !Ref AWS::NoValue
- !If
- IsProdAccount
- Sid: MealOrderManager