# Multiple Lambda@Edge Function Not Supported?

**URL:** <https://forum.serverless.com/t/multiple-lambda-edge-function-not-supported/7406>\
**Category:** Serverless Framework\
**Tags:** lambda\
**Created:** [February 18, 2019, 4:06am UTC](https://forum.serverless.com/t/multiple-lambda-edge-function-not-supported/7406 "2019-02-18T04:06:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lardcas58](https://avatars.discourse-cdn.com/v4/letter/l/b487fb/32.png) [@lardcas58](https://forum.serverless.com/u/lardcas58)\
**Post date:** [February 18, 2019, 4:06am UTC](https://forum.serverless.com/t/multiple-lambda-edge-function-not-supported/7406/1 "2019-02-18T04:06:07Z")

</div>

Hello Guys,

I was able to try using serverless frame for my personal CI/CD task and it seems working fine, the code of Lambda@Edge has been updated and the updated Lambda@Edge function was attached to Cloudfront. Unfortunately, it seems the serverless does not support multiple Lambda@Edge functions?

For instance, I want to have 3 Lambda@Edge Functions and each have their own folder which contains “index.js”, see screenshot below for your reference.

![untitled](https://yyz2.discourse-cdn.com/flex036/uploads/serverless/original/2X/9/97c4c7aabfdc5d2a0385a22db3f3937835fe1ac4.png)

When I run the serverless deploy command line, 3 Lambda@Edge Functions were created but the Cloudformation copied all 3 folders for each Lambda@Edge function. What I am expecting is that, the serverless will create 3 lambda@edge function and it will copy only the correct folder.

Not sure though if this is just a config problem on my local instance or the problem relies on the serverless framework.

Any inputs from your end is highly appreciated. Thanks

Regards,  
Larry DC

---

<div class="post-metadata">

**Author:** ![jthomerson](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/jthomerson/32/481_2.png) [@jthomerson](https://forum.serverless.com/u/jthomerson)\
**Post date:** [February 22, 2019, 6:46pm UTC](https://forum.serverless.com/t/multiple-lambda-edge-function-not-supported/7406/2 "2019-02-22T18:46:36Z")

</div>

Yes, multiple Lambda@Edge functions are supported. Your question seems to do more with packaging - you want each of those functions to package the code of just one function. See [https://serverless.com/framework/docs/providers/aws/guide/packaging/#packaging-functions-separately](https://serverless.com/framework/docs/providers/aws/guide/packaging/#packaging-functions-separately) for more information on how to do that.

---

<div class="post-metadata">

**Author:** ![lardcas58](https://avatars.discourse-cdn.com/v4/letter/l/b487fb/32.png) [@lardcas58](https://forum.serverless.com/u/lardcas58)\
**Post date:** [February 26, 2019, 3:48am UTC](https://forum.serverless.com/t/multiple-lambda-edge-function-not-supported/7406/3 "2019-02-26T03:48:40Z")

</div>

Thanks for your help. This is now considered as resolved.
