# How to apply lambda layers WITHOUT deleting other layers that already exist?

**URL:** https://forum.serverless.com/t/how-to-apply-lambda-layers-without-deleting-other-layers-that-already-exist/20312
**Category:** Serverless Framework
**Tags:** aws
**Created:** [July 4, 2024, 2:26pm UTC](https://forum.serverless.com/t/how-to-apply-lambda-layers-without-deleting-other-layers-that-already-exist/20312 "2024-07-04T14:26:24Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![arielb135](https://yyz2.discourse-cdn.com/flex036/user_avatar/forum.serverless.com/arielb135/32/7966_2.png) [@arielb135](https://forum.serverless.com/u/arielb135)
#### Post date: [July 4, 2024, 2:26pm UTC](https://forum.serverless.com/t/how-to-apply-lambda-layers-without-deleting-other-layers-that-already-exist/20312/1 "2024-07-04T14:26:24Z")

</div>

Hello, so i’m trying to apply a layer to all of my functions,  
the thing is - there are layers that are already deployed there (that are managed outside of the serverless framework).

when specifying atleast one layer on the sls.yaml - it totally deletes the other layers.  
is there any way / other plugin that can just add / update the layers i’m applying without a total replace?

```auto
provider:
  layers:
     - Ref: PythonRequirementsLambdaLayer #<-- replace existing layers not managed by serverless

```
