Im trying to reference AWSLambda-Python38-SciPy1x:107 layer provided by amazon to my lambda function i tried hard coded the ARN but it doesn't work when deploying it on different stages.
I tried also this way but it also didn't work.
layers:
The solution was hardcoded the ARN its the most correct way to do it simply i had a typo error