# Serverless .yml from existing Lambdas

**URL:** <https://forum.serverless.com/t/serverless-yml-from-existing-lambdas/3957>\
**Category:** Serverless Framework\
**Tags:** aws, lambda\
**Created:** [March 8, 2018, 2:20am UTC](https://forum.serverless.com/t/serverless-yml-from-existing-lambdas/3957 "2018-03-08T02:20:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![victor](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@victor](https://forum.serverless.com/u/victor)\
**Post date:** [March 8, 2018, 2:20am UTC](https://forum.serverless.com/t/serverless-yml-from-existing-lambdas/3957/1 "2018-03-08T02:20:06Z")

</div>

I’m studying the Serverless Framework to use in a project, the problem is that my project already have around 40 Lambdas Functions and a APi Gateway pointing to those functions.  
So, there is a way to create the yml configuration file based on existing functions and API Gateway?

---

<div class="post-metadata">

**Author:** ![rupakg](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/rupakg/32/900_2.png) [@rupakg](https://forum.serverless.com/u/rupakg)\
**Post date:** [March 8, 2018, 6:38am UTC](https://forum.serverless.com/t/serverless-yml-from-existing-lambdas/3957/2 "2018-03-08T06:38:10Z")

</div>

@victor Unfortunately there is no way to map those Lambda functions back to the framework. The Framework maintains its own state. What you can do is create a new project via the framework and copy the code for the functions into the framework project.

---

<div class="post-metadata">

**Author:** ![victor](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@victor](https://forum.serverless.com/u/victor)\
**Post date:** [March 8, 2018, 11:23am UTC](https://forum.serverless.com/t/serverless-yml-from-existing-lambdas/3957/3 "2018-03-08T11:23:28Z")

</div>

Thanks @rupakg, i’ll try that.
