I have a lambda application using serverless to deploy. The structure is shown as below:
apps/
apps/package.json
apps/serverless.yml
layers
layers/package.json
layers/serverless.yml
There are two folders apps and layers. In the layers, it defines the lambda layer infra. And in apps, it is the application code. I usually go to layers folder then run serverless deploy command which gives me the layer ARN. Then I paste the ARN to apps/serverless.yml manually. I am looking for a pattern which can take the layer ARN automatically. How can I do that in serverless?