<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>tansantktk</author_name>
  <author_url>https://blog.hatena.ne.jp/tansantktk/</author_url>
  <blog_title>エンジニアのはしがき</blog_title>
  <blog_url>https://tm-progapp.hatenablog.com/</blog_url>
  <categories>
    <anon>失敗談</anon>
    <anon>AWS</anon>
    <anon>Lambda</anon>
  </categories>
  <description>何をしたかったのか 何故動かなかったのか 修正後 他の手段 ~/.aws/config ファイルに追記する コマンドに追記する 何をしたかったのか macOSから下記のようなシェルスクリプトでLambda関数を実行しようとしたのですが、 AWS CLIのバージョンを1から2にアップデートしたところ、突如としてエラーを吐くようになってしまいました。 aws lambda invoke --invocation-type Event \ --function-name HogeFugaLambdaFunction \ --region ap-northeast-1 \ --payload '{ &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftm-progapp.hatenablog.com%2Fentry%2F2021%2F02%2F25%2F134927&quot; title=&quot;AWS CLIバージョン2を使いだしたらlambda invokeが出来なくなった話 - エンジニアのはしがき&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/t/tansantktk/20201120/20201120002649.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-02-25 13:49:27</published>
  <title>AWS CLIバージョン2を使いだしたらlambda invokeが出来なくなった話</title>
  <type>rich</type>
  <url>https://tm-progapp.hatenablog.com/entry/2021/02/25/134927</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
