<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>aipacommander</author_name>
  <author_url>https://blog.hatena.ne.jp/aipacommander/</author_url>
  <blog_title>ITの隊長のブログ</blog_title>
  <blog_url>https://aipacommander.com/</blog_url>
  <categories>
    <anon>Serverless Framework</anon>
    <anon>TypeScript</anon>
  </categories>
  <description>かなり時間使ってしまってワロタ（涙） 環境変数使いたいだけなのになんでこんなに時間をかけてしまったのか。。。とりあえず僕の時間が消えたぶんだけきれいにまとめた手順が下記 ~/src/functions/hello/handler.ts // 省略 const hello: ValidatedEventAPIGatewayProxyEvent&lt;typeof schema&gt; = async (event) =&gt; { console.log(process.env.HOGE); // 省略 デフォで用意されるファイルに環境変数読み取れるか用意。 .envファイルも用意する。 HOGE=&quot;HOGEHO…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Faipacommander.com%2Fentry%2F2022%2F05%2F02%2F010045&quot; title=&quot;Serverless Frameworkで.envファイルを読み込んで定義した環境変数を利用する - ITの隊長のブログ&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-05-02 01:00:45</published>
  <title>Serverless Frameworkで.envファイルを読み込んで定義した環境変数を利用する</title>
  <type>rich</type>
  <url>https://aipacommander.com/entry/2022/05/02/010045</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
