Open dougmoscrop opened 2 years ago
Running Node 16 in a Custom Runtime on Lambda, requires this workarond:
process.env.AWS_EXECUTION_ENV = 'AWS_Lambda_nodejs14.x' const { default: chromium } = await import('chrome-aws-lambda')
Given the deprecation of older Lambda runtimes, perhaps the check could just be if AWS_EXECUTION_ENV starts with AWS_Lambda_?
AWS_Lambda_
What would you like to have implemented?
Running Node 16 in a Custom Runtime on Lambda, requires this workarond:
Given the deprecation of older Lambda runtimes, perhaps the check could just be if AWS_EXECUTION_ENV starts with
AWS_Lambda_
?