Skip to content

Commit 7db4c1c

Browse files
committed
feat: use public-lambda-layers circleci context and new unified bucket name [ci skip]
1 parent 0fedff5 commit 7db4c1c

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ workflows:
2424
publish:
2525
jobs:
2626
- us_east_1:
27-
context: java-lambda-layer
27+
context: public-lambda-layers
2828
filters:
2929
branches:
3030
only:

java.zip

-50.6 MB
Binary file not shown.

publish.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
LAYER_NAME='java'
44
LAYER_VERSION=1
5-
BUCKET_NAME=shelf-java-lambda-layer-"$TARGET_REGION"
5+
BUCKET_NAME=shelf-lambda-layers-"$TARGET_REGION"
66

7-
aws s3 cp ./java.zip s3://"$BUCKET_NAME"/layer.zip
7+
aws s3 cp ./java.zip s3://"$BUCKET_NAME"/java.zip
88

99
LAYER_VERSION=$(
1010
aws lambda publish-layer-version --region "$TARGET_REGION" \
1111
--layer-name $LAYER_NAME \
12-
--content S3Bucket="$BUCKET_NAME",S3Key=layer.zip \
12+
--content S3Bucket="$BUCKET_NAME",S3Key=java.zip \
1313
--description "Java 8" \
1414
--query Version \
1515
--output text

0 commit comments

Comments
 (0)