Andrea Amorosi

Results 147 comments of Andrea Amorosi

PR #1141 introduces a new environment variable called `POWERTOOLS_DEV` which is aimed at selectively modifying the behavior of some utilities when developing locally. The variable at the moment focuses with...

Leaving here a recap of the discussion plus ideas for the proposed change: **Recap of the current status:** As Logger user I would like to suppress logs during testing. Jest...

Great thank you @shdq, if you have any questions reach out here or on the #typescript channel on discord

Hi @shdq thank you for looking into the feature! I agree with you that option 2 is clearer to read, let's go with that option and remove the default value...

To offer some additional context around the topic, the project structure used in these examples is in line with the [reference project architecture](https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_lambda_nodejs-readme.html#reference-project-architecture) suggested in the CDK v2 docs of...

> A structure example in shake of simplicity. What do you think @dreamorosi ? > > ``` > examples/cdk > | - infrastructure > |- bin > |- lib >...

Hi @niko-achilles, thanks for sharing your sample repo and sorry for not getting back to you on the previous comment. Updating the contents of the examples folder is still on...

Hi @krivachy, thanks for opening an issue and proposing the feature. I can see where you are coming from and what is the use case you're suggesting. I haven't formed...

> How would you detect if it's running in a lambda vs. not? The Tracer utility already does this ([see here](https://github.com/awslabs/aws-lambda-powertools-typescript/blob/main/packages/tracing/src/Tracer.ts#L791)). It basically consists of some heuristics logic around environment...

A similar PR was filed for the Python version of Powertools: https://github.com/awslabs/aws-lambda-powertools-python/pull/1548