0
1

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 3 years have passed since last update.

"errorMessage": "name 'instnaceid' is not defined" エラー

Last updated at Posted at 2021-05-18

素人が自分のノートとして書いてますが、改善点あれば是非コメントください

32行目 の【instnaceid】という文字が定義されていないよ。というエラー。
まぁ、だいたい入力間違い。w
よく文字を見直してね。
67行目 がクローズアップされているのは67行目から呼び出された関数内での事象だから。

エラー
{
  "errorMessage": "name 'instnaceid' is not defined",
  "errorType": "NameError",
  "stackTrace": [
    "  File \"/var/task/lambda_function.py\", line 67, in lambda_handler\n    get_inventory(instanceid)\n",
    "  File \"/var/task/lambda_function.py\", line 32, in get_inventory\n    print(instanceid_name, instnaceid, name, version)\n"
  ]
}

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?