mirror of
https://github.com/Sea-Haven-Industries/meal-order-manager.git
synced 2026-10-02 21:33:45 +00:00
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:
parent
f437ca8f0f
commit
e70d5fbf18
1 changed files with 3 additions and 0 deletions
|
|
@ -242,6 +242,9 @@ Resources:
|
||||||
- Effect: Allow
|
- Effect: Allow
|
||||||
Action: lambda:InvokeFunction
|
Action: lambda:InvokeFunction
|
||||||
Resource: !GetAtt SlackNotifierFunction.Arn
|
Resource: !GetAtt SlackNotifierFunction.Arn
|
||||||
|
- Effect: Allow
|
||||||
|
Action: ssm:GetParameter
|
||||||
|
Resource: !Sub 'arn:aws:ssm:${AWS::Region}:${AWS::AccountId}:parameter/meal-order-manager/*'
|
||||||
Events:
|
Events:
|
||||||
SubmitOrder:
|
SubmitOrder:
|
||||||
Type: HttpApi
|
Type: HttpApi
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue