Add SSM GetParameter permission to submit order Lambda

Required for reading the Google Client ID from Parameter Store
at /meal-order-manager/google-client-id.
This commit is contained in:
Adam Moussa 2026-05-13 11:52:32 -04:00
parent f437ca8f0f
commit e70d5fbf18

View file

@ -242,6 +242,9 @@ Resources:
- Effect: Allow
Action: lambda:InvokeFunction
Resource: !GetAtt SlackNotifierFunction.Arn
- Effect: Allow
Action: ssm:GetParameter
Resource: !Sub 'arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter/meal-order-manager/*'
Events:
SubmitOrder:
Type: HttpApi