Closed ymwjbxxq closed 11 months ago
Thanks for reporting! I noticed that we don't bundle eventbridge (just cloudwatch-events). This should be included in the default runtime. Not all SDKs from v3 are bundled in the runtime at the moment to keep the size down for RTT during cold starts. We will build flavours of LLRT containing basic (current state), extended and full SDK.
I think the SDK should be there, no flavours. Is there any link to see what is included?
I think the SDK should be there, no flavours. Is there any link to see what is included?
I will add to docs. For now, see here what's included: https://github.com/awslabs/llrt/blob/c88938895bbab05b81c96bbd7f45ddaf6f184547/build.mjs#L76
There is nothing (compatibility wise) preventing us from adding more in there. We have just included this based of popularity of packages.
I think for serverless, you really need a few extra
It would be great if there was a way to configure the system to automatically pull in them, instead of manually adding them one by one.
Hi @ymwjbxxq. credential-providers
packages does not seem to contain a AwsSigv4Signer
. Where do you find this class?
We have this package https://github.com/awslabs/smithy-typescript/tree/main/packages/signature-v4#smithysignature-v4 with SignatureV4
Sorry for my mistake. I confused the lines when I saw the code.
import { AwsSigv4Signer } from "@opensearch-project/opensearch/aws";
import { fromEnv } from "@aws-sdk/credential-providers";
return AwsSigv4Signer({
region,
getCredentials: fromEnv(),
})
You should now have what you need: https://github.com/awslabs/llrt/releases/tag/v0.1.1-beta
Hello,
Lambda config:
Deployed with
Packages:
Log: