Hacker News new | past | comments | ask | show | jobs | submit login
Show HN: “AWS Lambda, the CLI Way” (github.com/nsriram)
10 points by sriram_iyengar on Dec 30, 2019 | hide | past | favorite | 2 comments



Nice, thank you!

1. I don't see any mention of a very common omission:

  aws lambda add-permission
This an IAM resource-based policy necessary for services like SNS and SQS to use Lambda. The web console adds these for you automatically, but when using the CLI it's very easy to forget.

2. I would strongly suggest using a tool like Terraform (or Cloudformation if you hate yourself) for actually managing Lambda.


Thanks. Have covered the add-permission in S3, API Gateway integrations. Yes Terraform is definitely recommended. This was written for learning purpose.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: