<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ema_hiro</author_name>
  <author_url>https://blog.hatena.ne.jp/ema_hiro/</author_url>
  <blog_title>emahiro/b.log</blog_title>
  <blog_url>https://ema-hiro.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>lambda</anon>
  </categories>
  <description>これは何 Lambda から AWS のリソースに触るときに権限なしエラーが発生したときの調査でいつも手間取るのでその備忘録です。 config ファイルの iamRoleStatements ディレクティブを確認する 大体これで解決します。基本的にはコールしたい API のアクションがあるときには指定したアクションと権限をアタッチしない ARN が指定されていないことが多いのでその指定をします。 例えば SQS に必要な権限については以下のページにまとめられる。 docs.aws.amazon.com コンソールから割り当てられてる権限を見る Lambda のコンソールを開いて設定 &gt; アク…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fema-hiro.hatenablog.com%2Fentry%2F2022%2F02%2F03%2F020256&quot; title=&quot;Lambda -&amp;gt; 各種 AWS へのアクセスで権限エラーが発生した場合の調査方法 - emahiro/b.log&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.blog.st-hatena.com/images/theme/og-image-1500.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-03 02:02:56</published>
  <title>Lambda -&gt; 各種 AWS へのアクセスで権限エラーが発生した場合の調査方法</title>
  <type>rich</type>
  <url>https://ema-hiro.hatenablog.com/entry/2022/02/03/020256</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
