Describe the bug
Hello, we use Terraform to deploy Lambda, and we used requests, PyJWT, cryptography these three Layers.
Terraform is using the latest version of Klayers Layer, but the latest version does not work on Lambda layer.
Screenshots
The layer version show the message: "This layer no longer exists. You must remove this layer from the list before you can save any changes"
But the latest layer version list shows
Layer Version ARN:
arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-requests:15
arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-PyJWT:2
arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-cryptography:14
Framework:
Serverless
Additional context
We lowered the Layer version and it works fine.
arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-requests:11
arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-PyJWT:1
arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-cryptography:11
Describe the bug Hello, we use Terraform to deploy Lambda, and we used requests, PyJWT, cryptography these three Layers. Terraform is using the latest version of Klayers Layer, but the latest version does not work on Lambda layer.
This Issue is similar to Issue#305(https://github.com/keithrozario/Klayers/issues/305)
Screenshots The layer version show the message: "This layer no longer exists. You must remove this layer from the list before you can save any changes"
But the latest layer version list shows
Layer Version ARN: arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-requests:15 arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-PyJWT:2 arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-cryptography:14
Framework: Serverless
Additional context We lowered the Layer version and it works fine. arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-requests:11 arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-PyJWT:1 arn:aws:lambda:us-east-2:770693421928:layer:Klayers-p39-cryptography:11
Lambda Runtime settings: Runtime: Python3.9 Architecture: x86_64 Region: us-east-2(US East(Ohio))