<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hidehara</author_name>
  <author_url>https://blog.hatena.ne.jp/hidehara/</author_url>
  <blog_title>AWS / PHP / Python ちょいメモ</blog_title>
  <blog_url>https://hideharaaws.hatenablog.com/</blog_url>
  <categories>
    <anon>AWS</anon>
    <anon>Lambda</anon>
    <anon>CloudWatch</anon>
  </categories>
  <description>サーバレスといえば、Lambdaだと、ポンポン作ってると、ふと、CloudWatchにログ出力されてない関数があることに気づきました。正常動作してるときには、ログ出力されてなくても気にならないけど、トラブルシュートする時に見れないのは致命的。あと個人的には、Pythonコードでエラーでたときの Traceback が切り捨てなく見れるのがポイント高い。ちょっと過去の記憶を元に原因を探ってみました。 「既存のロール」選択時に注意 ログの出ない関数が２つになった時に、思い当たったのが、この設定。アクセス制限の実行ロールを「既存のロール」から選択していました。新しい関数 &quot;my_second_fun…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhideharaaws.hatenablog.com%2Fentry%2F2020%2F04%2F08%2F000744&quot; title=&quot;「既存のロール」でLambda関数つくるときに気をつけること - AWS / PHP / Python ちょいメモ&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/h/hidehara/20200407/20200407233211.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-04-08 00:07:44</published>
  <title>「既存のロール」でLambda関数つくるときに気をつけること</title>
  <type>rich</type>
  <url>https://hideharaaws.hatenablog.com/entry/2020/04/08/000744</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
