<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sue445</author_name>
  <author_url>https://blog.hatena.ne.jp/sue445/</author_url>
  <blog_title>くりにっき</blog_title>
  <blog_url>https://sue445.hatenablog.com/</blog_url>
  <categories>
    <anon>Terraform</anon>
  </categories>
  <description>前提 方法1. ヒアドキュメント 方法2. ヒアドキュメント + chomp 前提 こういうやつ。 json = &quot;{\&quot;key\&quot;: \&quot;value\&quot;}&quot; 余計な文字が入ってるとミスるのでもうちょっと見やすく書きたい。 Rubyであればこういう場合 ' （シングルクオーテーション）が使えるんだけど、Terraformはヒアドキュメント以外だと &quot; （ダブルクオーテーション）で囲むしかないのでちょっと工夫がいります。 方法1. ヒアドキュメント 末尾改行が許される場合にはヒアドキュメント一択 json = &lt;&lt;-JSON {&quot;key&quot;: &quot;value&quot;} JSON 方法2. ヒアドキュメント…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsue445.hatenablog.com%2Fentry%2F2025%2F07%2F01%2F120516&quot; title=&quot;Terraformでエスケープさせずにダブルクオーテーションを含む文字列を書く - くりにっき&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>2025-07-01 12:05:16</published>
  <title>Terraformでエスケープさせずにダブルクオーテーションを含む文字列を書く</title>
  <type>rich</type>
  <url>https://sue445.hatenablog.com/entry/2025/07/01/120516</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
