That is odd behaviour. I'd strongly encourage you to raise a support ticket to investigate that particular issue.
Otherwise: I don't think your strategy of using Lambda Layers is quite right. Yes, it might work but storing different data in each Layer is probably a bad pattern to use. My guess is that you're doing it so that the Lambda function doesn't have to load anything externally at startup but it still seems a little wrong.
Please reach out to your local AWS Solutions Architect to talk about your requirements and the best way to achieve that. Or: Ask a question here on re:Post with what you're trying to achieve.
- AWS 官方已更新 1 年前
- AWS 官方已更新 3 年前