Does somebody has experience with `Middy` or `lam...
# help
a
Does somebody has experience with
Middy
or
lambda-middleware
libraries? I want to build a middleware that can GET some “secret attributes” during runtime from SSM, and I don’t want to put the “get parameters” call on each function code… I want to encapsulate all that and put them in a “context”. Looking for ideas, I think Middy should work fine for this?
f
Hey @Adrián Mouly, i haven’t used Middy, but I’m almost sure that’s possible.
a
Yeah never used it neither, but I’m not sure if using Middy or lambda-middleware, both looks nice.
Both looks interesting.
r
There's an official middleware by the middy team for this https://github.com/middyjs/middy/tree/main/packages/ssm
a
@Ross Coundon thank you!! I did a quick search on their home
readme
and couldn’t find it. So apparently I was right, this was possible 😂 .