You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 19, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+23Lines changed: 23 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -317,6 +317,29 @@ make update_lambda_with_s3
317
317
make update_lambda
318
318
```
319
319
320
+
# Update the lambda layer
321
+
322
+
The docker image could require security updates or could require updates.
323
+
324
+
To patch the lambda with a new layer:
325
+
326
+
1. Rebuild the docker image
327
+
```
328
+
make docker_build
329
+
```
330
+
2. package the layer
331
+
```
332
+
make package_layer
333
+
```
334
+
3. upload the layer to AWS
335
+
```
336
+
make upload_lambda_layer
337
+
```
338
+
4. update the lambda
339
+
```
340
+
make update_lambda
341
+
```
342
+
320
343
# Contributions
321
344
322
345
Contributions are more than welcome! Follow [this guide](https://github.com/swift-sprinter/aws-lambda-swift-sprinter/blob/master/CONTRIBUTING.md) to contribute.
0 commit comments