<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>r-goto</author_name>
  <author_url>https://blog.hatena.ne.jp/r-goto/</author_url>
  <blog_title>NRIネットコムBlog</blog_title>
  <blog_url>https://tech.nri-net.com/</blog_url>
  <categories>
    <anon>クラウド</anon>
    <anon>AWS</anon>
    <anon>Terraform</anon>
  </categories>
  <description>こんにちは、後藤です。今回はTerraformのお話です。 みなさま、TerraformでAWSインフラを構築するときにmap型を使っていますでしょうか。 当記事ではmap型を使って、生成されるまで分からないAWSリソースのID指定に役立つ方法をご紹介します。 そもそもmap型とは map型とは値と値の対応を定義する記法で、キーバリュー形式をとっています。 Subnet = { PublicSubnet-A = &quot;10.0.0.0/24&quot;, PublicSubnet-B = &quot;10.0.1.0/24&quot; } この場合はサブネット名とCIDRの対応を定義しています。 1つ目のkeyはPublicS…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.nri-net.com%2Fentry%2Fterraform_map_get_resource_id&quot; title=&quot;Terraformのmap型を駆使して、生成されるまで分からないリソースIDを取得する - NRIネットコムBlog&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/r/r-goto/20231102/20231102193554.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-11-07 10:00:00</published>
  <title>Terraformのmap型を駆使して、生成されるまで分からないリソースIDを取得する</title>
  <type>rich</type>
  <url>https://tech.nri-net.com/entry/terraform_map_get_resource_id</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
