docs(examples): update aws lambda tooling and iam role names#1224
docs(examples): update aws lambda tooling and iam role names#1224
Conversation
seratch
left a comment
There was a problem hiding this comment.
Wow, you're quick! Thanks for working on this 🙇♂️
zimeg
left a comment
There was a problem hiding this comment.
📝 A few fast notes for reviewers!
| # role: lambda_basic_execution | ||
| # Have lambda:InvokeFunction & lambda:GetFunction in the allowed actions |
There was a problem hiding this comment.
The required roles are noted in the README.md, so these comments were removed to avoid confusion! 📚
| # | ||
|
|
||
| # Experimental Environment variables | ||
| # Lambda environment variables |
There was a problem hiding this comment.
From what I can tell, these are no longer an experimental feature! 🎉
https://github.com/nficano/python-lambda?tab=readme-ov-file#environment-variables
Everything looks great; nothing to discuss further! |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1224 +/- ##
=======================================
Coverage 90.96% 90.96%
=======================================
Files 222 222
Lines 7501 7501
=======================================
Hits 6823 6823
Misses 678 678 ☔ View full report in Codecov by Sentry. |
| @@ -31,5 +31,5 @@ def handler(event, context): | |||
| # export SLACK_BOT_TOKEN=xoxb-*** | |||
There was a problem hiding this comment.
@zimeg quick question: our internal report mentioned the necessity to rename this file. when you did testing for this change, was it unnecessary?
There was a problem hiding this comment.
@seratch Thanks for checking on this! I noticed that updating the role used by deploy.sh was enough to resolve errors, but I will check this once more 🔍 ✨
|
@seratch Thanks so much for the fast and thorough review! My lambdas in the cloud are updating nicely after these changes so I'll go ahead and merge this now ☁️ 🐍 ⚡ |
|
Great! Thank you for resolving this issue quickly! |
Summary
This PR updates the
aws_lambdaexample app code with patches to a few snags noted in channel! These include:python-lambdaerroring when checking the status of an app deployment.deploy.shscript to fail.Also included are minor updates to inline documentation and formatting changes. Open to reverting these though!
Category
Reviewers
Both non-OAuth apps were tested in the creation of this PR. Events were sent to the Lambda URL and I got responses in channel! 🚀
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.
./scripts/install_all_and_run_tests.shafter making the changes.