LoginSignup
2
0

More than 5 years have passed since last update.

Node.js 6.10で動いているAWS Lambdaの関数をAWS CLI + jqで調べる

Last updated at Posted at 2019-03-27

Node.js6.10のランタイムもいよいよEOLですね。

-> 4月1日にNode.js 6.10のサポートが終了になります

ということでざっと対象のLambdaを調べてみましょう。

$ aws lambda list-functions | jq '.Functions[] | select(.Runtime == "nodejs6.10") | .FunctionName' -r
faultline-v0-projectsList
faultline-v0-occurrencesGet
example-alexa
faultline-v0-errorsDelete
faultline-v0-errorsGet
candidate-service-dev-candidateSubmission
faultline-v0-occurrencesList
faultline-v0-encrypt
faultline-v0-callNotifications
faultline-v0-deleteExpiredErrors
faultline-v0-projectsDelete
faultline-v0-errorsPost
faultline-v0-errorsPatch
sls-forms-development-sendMail
faultline-v0-errorsList

注意点

かならず全件とってくるわけではないので要注意です。
NextTokenがレスポンスにある場合は、まだ後ろに控えてる可能性あります。

追記

いろいろ考えてたら面倒になったので、NPMでCLIツールにしました。

LambdaのRuntimeバージョンとか調べるのがめんどくさくてCLIツールにした話:https://wp-kyoto.net/lambda-function-search/

2
0
0

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
2
0