Skip to content

Commit ea920d5

Browse files
committed
docs: mention 2 new layer versions [ci skip]
1 parent 03bce5b commit ea920d5

File tree

1 file changed

+14
-15
lines changed

1 file changed

+14
-15
lines changed

readme.md

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Based on the [serverless-libreoffice](https://github.com/vladgolubev/serverless-
99
Click on Layers and choose "Add a layer", and "Provide a layer version ARN" and enter the following ARN.
1010

1111
```
12-
arn:aws:lambda:us-east-1:764866452798:layer:libreoffice:9
12+
arn:aws:lambda:us-east-1:764866452798:layer:libreoffice-brotli:1
1313
```
1414

1515
See the table below for the list of supported regions and runtimes.
@@ -28,7 +28,7 @@ If you don't use [aws-lambda-libreoffice npm package](https://github.com/shelfio
2828

2929
1. This layer just adds `/opt/lo.tar.br` or `/opt/lo.tar.gz` file to your Lambda runtime
3030
2. Unpack `/opt/lo.tar.br` or `/opt/lo.tar.gz` file during Lambda execution into `/tmp` folder which has 512 MB of free space. Make sure to do this OUTSIDE function handler code.
31-
This is an expensive task, so better to make it once on a warm start.
31+
This is an expensive task, so better to make it once on a warm start.
3232
3. LibreOffice binary will be located available at `/opt/instdir/program/soffice.bin`
3333
4. Check out `/test/index.js` for CLI arguments needed to run LibreOffice to convert a `.txt` file to `.pdf` for more details
3434

@@ -43,18 +43,18 @@ Works with the following [AWS Lambda runtimes](https://docs.aws.amazon.com/lambd
4343
- python3.8
4444
- java11
4545

46-
| AWS Region | LibreOffice Version | Layer ARN |
47-
| -------------- | ------------------- | ---------------------------------------------------------------- |
48-
| us-east-1 | 6.4.0.1 | `arn:aws:lambda:us-east-1:764866452798:layer:libreoffice:9` |
49-
| eu-west-1 | 6.4.0.1 | `arn:aws:lambda:eu-west-1:764866452798:layer:libreoffice:2` |
50-
| eu-central-1 | 6.4.0.1 | `arn:aws:lambda:eu-central-1:764866452798:layer:libreoffice:2` |
51-
| us-west-2 | 6.4.0.1 | `arn:aws:lambda:us-west-2:764866452798:layer:libreoffice:2` |
52-
| us-east-2 | 6.4.0.1 | `arn:aws:lambda:us-east-2:764866452798:layer:libreoffice:2` |
53-
| ap-southeast-2 | 6.4.0.1 | `arn:aws:lambda:ap-southeast-2:764866452798:layer:libreoffice:2` |
54-
| eu-west-2 | 6.4.0.1 | `arn:aws:lambda:eu-west-2:764866452798:layer:libreoffice:2` |
55-
| ap-southeast-1 | 6.4.0.1 | `arn:aws:lambda:ap-southeast-1:764866452798:layer:libreoffice:2` |
56-
| ap-south-1 | 6.4.0.1 | `arn:aws:lambda:ap-south-1:764866452798:layer:libreoffice:2` |
57-
| ca-central-1 | 6.4.0.1 | `arn:aws:lambda:ca-central-1:764866452798:layer:libreoffice:1` |
46+
| AWS Region | LibreOffice Version | Layer ARN (brotli) | Layer ARN (gzip) |
47+
| -------------- | ------------------- | ----------------------------------------------------------------------- | --------------------------------------------------------------------- |
48+
| us-east-1 | 6.4.0.1 | `arn:aws:lambda:us-east-1:764866452798:layer:libreoffice-brotli:1` | `arn:aws:lambda:us-east-1:764866452798:layer:libreoffice-gzip:1` |
49+
| eu-west-1 | 6.4.0.1 | `arn:aws:lambda:eu-west-1:764866452798:layer:libreoffice-brotli:1` | `arn:aws:lambda:eu-west-1:764866452798:layer:libreoffice-gzip:1` |
50+
| eu-central-1 | 6.4.0.1 | `arn:aws:lambda:eu-central-1:764866452798:layer:libreoffice-brotli:1` | `arn:aws:lambda:eu-central-1:764866452798:layer:libreoffice-gzip:1` |
51+
| us-west-2 | 6.4.0.1 | `arn:aws:lambda:us-west-2:764866452798:layer:libreoffice-brotli:1` | `arn:aws:lambda:us-west-2:764866452798:layer:libreoffice-gzip:1` |
52+
| us-east-2 | 6.4.0.1 | `arn:aws:lambda:us-east-2:764866452798:layer:libreoffice-brotli:1` | `arn:aws:lambda:us-east-2:764866452798:layer:libreoffice-gzip:1` |
53+
| ap-southeast-2 | 6.4.0.1 | `arn:aws:lambda:ap-southeast-2:764866452798:layer:libreoffice-brotli:1` | `arn:aws:lambda:ap-southeast-2:764866452798:layer:libreoffice-gzip:1` |
54+
| eu-west-2 | 6.4.0.1 | `arn:aws:lambda:eu-west-2:764866452798:layer:libreoffice-brotli:1` | `arn:aws:lambda:eu-west-2:764866452798:layer:libreoffice-gzip:1` |
55+
| ap-southeast-1 | 6.4.0.1 | `arn:aws:lambda:ap-southeast-1:764866452798:layer:libreoffice-brotli:1` | `arn:aws:lambda:ap-southeast-1:764866452798:layer:libreoffice-gzip:1` |
56+
| ap-south-1 | 6.4.0.1 | `arn:aws:lambda:ap-south-1:764866452798:layer:libreoffice-brotli:1` | `arn:aws:lambda:ap-south-1:764866452798:layer:libreoffice-gzip:1` |
57+
| ca-central-1 | 6.4.0.1 | `arn:aws:lambda:ca-central-1:764866452798:layer:libreoffice-brotli:1` | `arn:aws:lambda:ca-central-1:764866452798:layer:libreoffice-gzip:1` |
5858

5959
### LibreOffice 6.1.0.0.alpha0 (Amazon Linux 1)
6060

@@ -84,4 +84,3 @@ Works with the following [AWS Lambda runtimes](https://docs.aws.amazon.com/lambd
8484
## License
8585

8686
MIT © [Shelf](https://shelf.io)
87-

0 commit comments

Comments
 (0)