How can I split up my serverless.yml file into multiple files?

Viewed 2447

I am using the Serverless Framework for my AWS-powered application. I've been writing a super-long serverless.yml file so far, which contains all my lambda code, resources, IAM roles, and State Machines. T find it very hard to manage this big file. How can I work around this? Is there any way to split my serverless.yml file into smaller, manageable chunks? It'd be awesome if I can get one yml per lambda. Thanks in advance

2 Answers
Related