Skip to content

Commit

Permalink
Fix AWS lambda publishing script (#3246)
Browse files Browse the repository at this point in the history
  • Loading branch information
reakaleek authored Jul 19, 2023
1 parent 4cb75e2 commit e50720c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .ci/publish-aws.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ ALL_AWS_REGIONS=$(aws ec2 describe-regions --output json --no-cli-pager | jq -r
rm -rf "${AWS_FOLDER}"
mkdir -p "${AWS_FOLDER}"

zip_file="./elastic-apm-agent/target/elastic-apm-java-ver-1-39-0.zip"
zip_file="./elastic-apm-agent/target/${FULL_LAYER_NAME}.zip"

mv ./elastic-apm-agent/target/elastic-apm-java-aws-lambda-layer-*.zip "${zip_file}"

for region in $ALL_AWS_REGIONS; do
echo "Publish ${FULL_LAYER_NAME} in ${region}"
Expand Down

0 comments on commit e50720c

Please sign in to comment.