Giter Club home page Giter Club logo

Comments (8)

alexcasalboni avatar alexcasalboni commented on June 2, 2024 1

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.

alexcasalboni avatar alexcasalboni commented on June 2, 2024 1

@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.

rrhodes avatar rrhodes commented on June 2, 2024 1

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.

alexcasalboni avatar alexcasalboni commented on June 2, 2024 1

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.

rrhodes avatar rrhodes commented on June 2, 2024 1

Hey @alexcasalboni, that should be PR #213 ready for review implementing the agreed approach. Feedback welcome!

from aws-lambda-power-tuning.

alexcasalboni avatar alexcasalboni commented on June 2, 2024

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.

rrhodes avatar rrhodes commented on June 2, 2024

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.

rrhodes avatar rrhodes commented on June 2, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.