From 4cc8fe15a3ea5447777d2561687c73b738cc5c73 Mon Sep 17 00:00:00 2001 From: Matthew Hanson Date: Wed, 23 Oct 2019 01:41:01 -0400 Subject: [PATCH] update ci for failed publish, update ARNs, bump version --- .circleci/config.yml | 7 +++---- README.md | 12 ++++++------ VERSION | 2 +- 3 files changed, 10 insertions(+), 11 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 67ddadd..f6ede8c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -60,12 +60,11 @@ jobs: --layer-name geolambda-dev --action lambda:GetLayerVersion \ --statement-id public --version-number ${LVERSION} --principal '*' LVERSION="$(aws lambda publish-layer-version --region ${region} \ - --layer-name geolambda-dev-python --license-info 'MIT' \ + --layer-name geolambda-python-dev --license-info 'MIT' \ --description 'Geospatial Python libraries' \ - --zip-file fileb://lambda-deploy.zip | jq '.Version') - --compatible-runtimes python3.7" + --zip-file fileb://lambda-deploy.zip | jq '.Version')" aws lambda add-layer-version-permission --region ${region} \ - --layer-name geolambda-dev-python --action lambda:GetLayerVersion \ + --layer-name geolambda-python-dev --action lambda:GetLayerVersion \ --statement-id public --version-number ${LVERSION} --principal '*' done # deploy Python Lambda layers diff --git a/README.md b/README.md index eff2627..1f9a892 100644 --- a/README.md +++ b/README.md @@ -40,21 +40,21 @@ The GeoLambda image does not have an entrypoint defined, so a command must be pr If you just wish to use the publicly available Lambda layer you will need the ARN for the layer in same region as your Lambda function. Currently, GeoLambda layers are available in `us-east-1`, `us-west-2`, and `eu-central-1`. If you want to use it in another region please file an issue or you can also create your own layer using this repository (see instructions below on 'Create a new version'). -#### v1.2.0rc1 +#### v1.2.0rc2 | Region | ARN | | ------ | --- | -| us-east-1 | arn:aws:lambda:us-east-1:552188055668:layer:geolambda-dev:5 | +| us-east-1 | arn:aws:lambda:us-east-1:552188055668:layer:geolambda-dev:6 | | us-west-2 | arn:aws:lambda:us-west-2:552188055668:layer:geolambda-dev:5 | | eu-central-1 | arn:aws:lambda:eu-central-1:552188055668:layer:geolambda-dev:5 | -#### v1.2.0rc1-python +#### v1.2.0rc2-python | Region | ARN | | ------ | --- | -| us-east-1 | arn:aws:lambda:us-east-1:552188055668:layer:geolambda-dev-python:1 | -| us-west-2 | arn:aws:lambda:us-west-2:552188055668:layer:geolambda-dev-python:1 | -| eu-central-1 | arn:aws:lambda:eu-central-1:552188055668:layer:geolambda-dev-python:1 | +| us-east-1 | arn:aws:lambda:us-east-1:552188055668:layer:geolambda-python-dev:1 | +| us-west-2 | arn:aws:lambda:us-west-2:552188055668:layer:geolambda-python-dev:1 | +| eu-central-1 | arn:aws:lambda:eu-central-1:552188055668:layer:geolambda-python-dev:1 | #### v1.1.0 diff --git a/VERSION b/VERSION index ceeac09..fb6c5c5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.0rc1 +1.2.0rc2