Skip to content
This repository was archived by the owner on Jun 24, 2024. It is now read-only.

Commit 503b16f

Browse files
committed
Pass region to publish for v2 CLI compat.
1 parent e5fab68 commit 503b16f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bin/deploy

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,10 @@ set -e
66

77
export VIPS_VERSION=$(cat share/VIPS_VERSION)
88
export LAYER_NAME="rubyvips${VIPS_VERSION//./}-27"
9+
export AWS_REGION=${AWS_REGION:=us-east-1}
910

1011
aws lambda publish-layer-version \
12+
--region $AWS_REGION \
1113
--layer-name $LAYER_NAME \
1214
--description "Libvips for Ruby FFI." \
1315
--zip-file "fileb://share/libvips.zip"

0 commit comments

Comments
 (0)