<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>watasihasitujidesu</author_name>
  <author_url>https://blog.hatena.ne.jp/watasihasitujidesu/</author_url>
  <blog_title>production.log</blog_title>
  <blog_url>https://blog.naoshihoshi.com/</blog_url>
  <categories>
    <anon>技術</anon>
  </categories>
  <description>概要 標題の通りですが、Serverless Framework 1.10.2において、serverless.ymlにAWS IAM変数(${cognito-identity.amazonaws.com:sub}など)を使用する場合、 フレームワークの挙動として${文字列}の値を設定した変数に置き換えようとする動きをするので、その挙動を変更し、IAM変数を使えるようにする方法を書きます。 ※今回はcognito-identity.amazonaws.com:subに限定して書きますので、汎用的ではありません。 元のコード provider: name: aws runtime: nodejs6…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.naoshihoshi.com%2Fentry%2F2017%2F04%2F12%2F153000&quot; title=&quot;Serverless Framework 1.10.2でAWS IAM変数(${cognito-identity.amazonaws.com:sub})を使用する場合の設定 - production.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://s3-us-west-2.amazonaws.com/assets.site.serverless.com/blog/sls.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-04-12 15:30:00</published>
  <title>Serverless Framework 1.10.2でAWS IAM変数(${cognito-identity.amazonaws.com:sub})を使用する場合の設定</title>
  <type>rich</type>
  <url>https://blog.naoshihoshi.com/entry/2017/04/12/153000</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
