Skip to content

Commit 52dfe57

Browse files
committed
feat: publish layer in us-west-2 as well
1 parent 6675b0e commit 52dfe57

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

publish.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,13 @@ REGIONS='
77
us-east-1
88
eu-west-1
99
eu-central-1
10+
us-west-2
1011
'
1112

1213
aws s3 cp ./layer.zip s3://shelf-libreoffice-lambda-layer-us-east-1/layer.zip
1314
aws s3 cp ./layer.zip s3://shelf-libreoffice-lambda-layer-eu-west-1/layer.zip
1415
aws s3 cp ./layer.zip s3://shelf-libreoffice-lambda-layer-eu-central-1/layer.zip
16+
aws s3 cp ./layer.zip s3://shelf-libreoffice-lambda-layer-us-west-2/layer.zip
1517

1618
for region in $REGIONS; do
1719
aws lambda add-layer-version-permission --region $region --layer-name libreoffice \

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Works well with [aws-lambda-libreoffice npm package](https://github.com/shelfio/
2323

2424
| LibreOffice version | ARN |
2525
| ------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
26-
| 6.1.0.0.alpha0 | `arn:aws:lambda:us-east-1:764866452798:layer:libreoffice:8` and `arn:aws:lambda:eu-west-1:764866452798:layer:libreoffice:1` and `arn:aws:lambda:eu-central-1:764866452798:layer:libreoffice:1` |
26+
| 6.1.0.0.alpha0 | `arn:aws:lambda:us-east-1:764866452798:layer:libreoffice:8` and `arn:aws:lambda:eu-west-1:764866452798:layer:libreoffice:1` and `arn:aws:lambda:eu-central-1:764866452798:layer:libreoffice:1` and `arn:aws:lambda:us-west-2:764866452798:layer:libreoffice:1` |
2727

2828
## License
2929

0 commit comments

Comments
 (0)