<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>buty4649</author_name>
  <author_url>https://blog.hatena.ne.jp/buty4649/</author_url>
  <blog_title>ぶていのログでぶログ</blog_title>
  <blog_url>https://tech.buty4649.net/</blog_url>
  <categories>
    <anon>terraform</anon>
  </categories>
  <description>Terraformにおいて例えば、A,B,Cという種類のサーバの属性がありそれぞれモジュールで定義されていて、それらに属するサーバが複数あると行った場合、何も考えずに書くと以下のようなコードになると思う。 locals { servers_a = { node-a-1 = &quot;192.168.0.1&quot;, } servers_b = { node-b-1 = &quot;192.168.1.1&quot;, node-b-2 = &quot;192.168.1.2&quot;, } servers_c = { node-c-1 = &quot;192.168.2.1&quot;, node-c-2 = &quot;192.168.2.2&quot;, node-c-3 = &quot;…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.buty4649.net%2Fentry%2F2022%2F07%2F22%2F191008&quot; title=&quot;Terraformでfor文とfileset関数を使って複数の設定ファイルの読み込みをDRYに書く - ぶていのログでぶログ&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-07-22 19:10:08</published>
  <title>Terraformでfor文とfileset関数を使って複数の設定ファイルの読み込みをDRYに書く</title>
  <type>rich</type>
  <url>https://tech.buty4649.net/entry/2022/07/22/191008</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
