We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0fedff5 commit 7db4c1cCopy full SHA for 7db4c1c
3 files changed
.circleci/config.yml
@@ -24,7 +24,7 @@ workflows:
24
publish:
25
jobs:
26
- us_east_1:
27
- context: java-lambda-layer
+ context: public-lambda-layers
28
filters:
29
branches:
30
only:
java.zip
-50.6 MB
publish.sh
@@ -2,14 +2,14 @@
2
3
LAYER_NAME='java'
4
LAYER_VERSION=1
5
-BUCKET_NAME=shelf-java-lambda-layer-"$TARGET_REGION"
+BUCKET_NAME=shelf-lambda-layers-"$TARGET_REGION"
6
7
-aws s3 cp ./java.zip s3://"$BUCKET_NAME"/layer.zip
+aws s3 cp ./java.zip s3://"$BUCKET_NAME"/java.zip
8
9
LAYER_VERSION=$(
10
aws lambda publish-layer-version --region "$TARGET_REGION" \
11
--layer-name $LAYER_NAME \
12
- --content S3Bucket="$BUCKET_NAME",S3Key=layer.zip \
+ --content S3Bucket="$BUCKET_NAME",S3Key=java.zip \
13
--description "Java 8" \
14
--query Version \
15
--output text
0 commit comments