Calling a lambda function once, it's executed twice

后端 未结 3 531
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-01-13 14:54

This is more of a concern than a question, but still, has anyone experienced this before? Does anyone know how to prevent it?

I have a lambda function (L1) which cal

3条回答
  •  攒了一身酷
    2021-01-13 15:25

    Your lambda function must be idempotent, because it can be called twice in different situations.

    https://aws.amazon.com/premiumsupport/knowledge-center/lambda-function-idempotent/

    https://cloudonaut.io/your-lambda-function-might-execute-twice-deal-with-it/

提交回复
热议问题