From 7066e4bace3229033fd1d41f9d72ea24bc25158c Mon Sep 17 00:00:00 2001 From: Matthew Hanson Date: Fri, 22 Mar 2019 14:56:28 -0400 Subject: [PATCH] ci: update Lambda layer names --- .circleci/config.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index ab21761..c65ccb6 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -34,7 +34,7 @@ jobs: # publish docker images mkdir -p ~/.ssh ssh-keyscan github.com >> ~/.ssh/known_hosts - #git tag -d ${VERSION} + git tag -d ${VERSION} git tag ${VERSION} git push origin ${VERSION} docker login -u $DOCKER_USER -p $DOCKER_PASS @@ -51,11 +51,11 @@ jobs: for region in us-east-1 us-west-2 eu-central-1 do LVERSION="$(aws lambda publish-layer-version --region ${region} \ - --layer-name geolambda-dev --license-info 'MIT' \ + --layer-name geolambda --license-info 'MIT' \ --description 'Native geospatial libaries for all runtimes' \ --zip-file fileb://lambda-deploy.zip | jq '.Version')" aws lambda add-layer-version-permission --region ${region} \ - --layer-name geolambda-dev --action lambda:GetLayerVersion \ + --layer-name geolambda --action lambda:GetLayerVersion \ --statement-id public --version-number ${LVERSION} --principal '*' done