Hello,
I am using bitbucket pipline to deploy my lambdas. For now everything is fine, except for deploying layers.
in 2018 aws introduced layer for lambdas, mainly used to share a common code (conf, models, ...) between lambdas and also to create runtime environement for not supported langages.
I have lambdas to manage users (nodejs + mongodb) : create user, login, activate user, update, ...
these lambdas are sharing the same model and configuration. So, I would like to avoid duplicating code, so I thought about creating layer.
My problem is:
1/ How can I do to update my layer when I deploy my lambda (specify latest layer) ?
I am using (AWS Lambda deploy : v0.3.2maintained by Atlassian)
Thank you in advance for your help.
Best regards
Adel MANI