It would be nice to use ARM architecture for AWS Lambda functions (and use Apple silicon locally). However, the @sparticuz/chromium project has not yet added support. See the comments here.
Why did I create this ? I used to work on a non-MVC PHP project and sometimes I needed to output few lines of HTML directly from the functions. Having to mix HTML code in PHP code was inconsistent to ...