package-layered-lambdas, the utility I've developed to upload AWS lambdas when deploying with #AWSCDK now has end-to-end tests which test that it successfully packages a layer and a lambda.
Previously that was only tested indirectly in consumer projects.
https://github.com/bifravst/package-layered-lambdas/releases/tag/v3.9.0