Comments (8)
Apologies, I didn't fully understand the issue at first :)
Your're correct, we should also add a toggle for the executor function to avoid logging the invocation payload.
Happy to accept a PR 🚀
from aws-lambda-power-tuning.
@rrhodes would it make more sense as an execution parameter (at runtime) or as a CloudFormation parameter (at deploy time)? I don't have a strong opinion, but it sounds like it would be more flexible as an execution parameter, so you can use the same deployment for both use cases.
from aws-lambda-power-tuning.
it sounds like it would be more flexible as an execution parameter, so you can use the same deployment for both use cases.
An execution parameter I agree would make more sense, yep. 👍🏻
from aws-lambda-power-tuning.
Super 😄
Based on the naming conventions used so far, I'd imagine a parameter such as disablePayloadLogs
(boolean) or something similar.
And please note that the same happens here (series invocations) and here (pre/post-processor invocations).
from aws-lambda-power-tuning.
Hey @alexcasalboni, that should be PR #213 ready for review implementing the agreed approach. Feedback welcome!
from aws-lambda-power-tuning.
Hi @rrhodes, thanks for reaching out!
Have you considered using the payloadS3
input parameter? That allows you to provide an S3 bucket/key that contains the input payload (instead of providing it directly to Step Functions).
This should solve the more common case (no error).
In case of errors, I'd suggest to just avoid dumping the credentials into your logs (or somehow encrypt it before dumping it).
from aws-lambda-power-tuning.
Thanks for the prompt reply @alexcasalboni! I'll take a look into this and try to have a PR up next week for review. 🙂
from aws-lambda-power-tuning.
Thanks @alexcasalboni! The name sounds good to me, and thanks for the head's up on the other areas to review. 😊
from aws-lambda-power-tuning.
Related Issues (20)
- lumigo-cli no longer maintained HOT 2
- Duration being under reported? HOT 3
- adding an option to get all the configurations results HOT 6
- NullReferenceException when testing function HOT 4
- Support for testing stream-based functions HOT 2
- Option to Consume Payload from SQS source? HOT 3
- Add KMS permission(s) that may be optionally needed HOT 11
- cost discrepancy on small lambdas HOT 2
- Add logic to identify insufficient resources causing timeout HOT 5
- 💡 Add this project to awesome-italia-opensource HOT 2
- Feature Request: Allow naming of statemachine HOT 5
- Upgrade to Node 20 HOT 1
- Getting Error While Increasing Power values to 10240 MB HOT 1
- Support for array payload accepting functions HOT 4
- Remove security sensitive lambda:DeleteFunction permission HOT 2
- Log analysis uses Billed Duration rather than Duration for calculating Lambda run time HOT 2
- Image in payload possibility HOT 5
- Bug: Support JSON logging HOT 20
- Missing num error while executing state machine HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aws-lambda-power-tuning.