61
30

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

【AWS】Lambdaでtime out after 3.00 secondsが出たときの対処法

Posted at

はじめに

開発用のEC2やRDSの起動・停止はLambdaで行っています。安定稼働していたLambdaで急にエラーが発生するようになったので、対処方法を共有します。

発生したエラー

"errorMessage": "2018-04-26T08:40:15.398Z 6f404961-492d-11e8-9047-f3c59f4ef90f Task timed out after 3.00 seconds"

対処法

  • Lambdaのタイムアウト値を3秒以上に変更する
    • 例30秒など

image.png

動作確認

無事に動いていることが確認できました

image.png

61
30
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
61
30

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?