Lambda functions not building the correct layers locally when running sam local start-api with the layer and the function in different template files
When I try to run sam local start-api and the lambda function and layer are in the same template file it works perfectly: