Skip to content

Latest commit

 

History

History
28 lines (17 loc) · 522 Bytes

README.md

File metadata and controls

28 lines (17 loc) · 522 Bytes

Create a role

aws iam create-role \
  --role-name rust-role \
  --assume-role-policy-document file://rust-role.json

Build

cargo lambda build  

Deploy

cargo lambda deploy --iam-role arn:aws:iam::747194874562:role/rust-role --enable-function-url

Setup environmnent variable

Setup 2 variable GITHUB_ACCESS_TOKEN and SLACK_NOTIFICATION_CHANNEL_FE SLACK_NOTIFICATION_CHANNEL_BE

Lambda URL Trigger: https://2tajlxmufgyyohlxg5vb67cjoy0zekcn.lambda-url.ap-northeast-1.on.aws/