perpil
perpil
Since it appears Leapp is using the federate api to login to the console, it could be modified to [call logout and federate at the same time]( https://serverfault.com/questions/985255/is-it-possible-to-switch-between-aws-accounts-without-signing-out-first/1097528#1097528).
Another workaround I found is that if you use the [copy loader](https://esbuild.github.io/content-types/#copy), it leaves the .json content out of the sourcemap. i.e. `--loader:.json=copy`
I should also mention, this requires importing `Agent` from `https` so the full snippet likely should be: ``` import { DynamoDBClient } from "@aws-sdk/client-dynamodb"; import { NodeHttpHandler } from "@smithy/node-http-handler";...
Not sure if this helps, but at least for the Metrics package, if I patch it to lazy-load `node:console` and set the `POWERTOOLS_DEV` env environment variable to `true`, metrics appear...
> Is there a chance for you share the setup how you ran the experiments, so we can better understand the results. I am no expert on performance testing so...
I noticed layer 21 was released today so I've added it to the table. |init duration|secrets loading|normalized|lambda layer|delta|notes| |-------------|---------------|----------|------------|-----|----| | 849 | 121 | 728 |none |+0 ms|This is with...
Here's a [quick repo](https://github.com/perpil/powertools-layer-repro) that you can comment on and off layers and see the results in x-ray/cloudwatch. It uses serverless, but I'm not doing anything that can't be done...
When I replaced the compiled version of [this file](https://github.com/aws/aws-sdk-js-v3/blob/main/packages/credential-provider-node/src/defaultProvider.ts) with the contents below in my minified bundle, the sso code treeshook out and I saw a 41KB reduction in bundle...
Hi @RanVaknin I understand the general purpose nature of the provider and the fact that bundling is not aware of the target platform. I am also aware that I can...
Thanks for the update. I'm using esbuild and bundling. I modified my [repro](https://github.com/perpil/sso-coldstart-benchmark-cdk) to use 3.499 so you can see the behavior yourself. I'm expecting the delta between me hand...