lambda-decorators icon indicating copy to clipboard operation
lambda-decorators copied to clipboard

lambda environment variables

Open dltacube opened this issue 1 year ago • 0 comments

Hey,

Was testing your decorator function and first of all wanted to say it's been super useful.

I was wondering however if I was interpreting this correctly from the lambda documentation:

https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html

Environment variables are not evaluated before the function invocation. Any value you define is considered a literal string and not expanded. Perform the variable evaluation in your function code.

Does this mean that code run inside of the decorator would be privy to those env variables? And is that something we want to fix?

dltacube avatar Aug 15 '24 18:08 dltacube