Hi Friends!
I am hoping to dynamically set the value of:
$CHROMELESS_S3_OBJECT_KEY_PREFIX
in the test code interacting with Chromeless running on Lambda.
So far I've had only partial luck with this. I am able to set this value and see it reflected in the name of the written screenshot to s3 when running Chromeless locally. However, when I run the same code against lambda remotely, the environment variable does not seem to carry through. (The node process instantiating Chromeless doesn't seem to send the current env vars into the object that is being built and run on lambda.) I don't want to set this value statically via the AWS console lambda configuration, as this value must change over time.
Any thoughts on how best to achieve my goal?
Apologies is this is obvious, I am new to serverless, lambda, and chromeless.
Thank you!
-Denali