Layer doesn't exist in any regions
Closed this issue · 2 comments
Whilst trying to use this layer, I was getting the same issue as a previously opened issue AWS Console claims "This layer version no longer exists"
Going further, I have run the following command in AWS Cloud Console which reports that no Layers of this name (of any version) exist in any of the supposed regions:
REGIONS=(ap-northeast-1 ap-northeast-2 ap-south-1 ap-southeast-1 ap-southeast-2 ca-central-1 eu-north-1 eu-central-1 eu-west-1 eu-west-2 eu-west-3 sa-east-1 us-east-1 us-east-2 us-west-1 us-west-2); echo "Region Status Version"; echo "----------------------"; for region in "${REGIONS[@]}"; do version=$(aws lambda list-layer-versions --layer-name chrome-aws-lambda --region $region --query 'max_by(LayerVersions, &Version).Version' --output text 2>/dev/null); if [ -n "$version" ]; then echo "$region FOUND v$version"; else echo "$region MISSING"; fi; done
`Region Status Version
ap-northeast-1 FOUND vNone
ap-northeast-2 FOUND vNone
ap-south-1 FOUND vNone
ap-southeast-1 FOUND vNone
ap-southeast-2 FOUND vNone
ca-central-1 FOUND vNone
eu-north-1 FOUND vNone
eu-central-1 FOUND vNone
eu-west-1 FOUND vNone
eu-west-2 FOUND vNone
eu-west-3 FOUND vNone
sa-east-1 FOUND vNone
us-east-1 FOUND vNone
us-east-2 FOUND vNone
us-west-1 FOUND vNone
us-west-2 FOUND vNone`
I'd be happy to be corrected if I'm doing something egregiously wrong here, but otherwise I'm assuming this project is dead.
use version 51
This seemingly works, possible my checker script before was dodgy.
aws lambda get-layer-version --layer-name arn:aws:lambda:eu-west-2:764866452798:layer:chrome-aws-lambda --version-number 51 --region eu-west-2