<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>jbs_nishiyamas</author_name>
  <author_url>https://blog.hatena.ne.jp/jbs_nishiyamas/</author_url>
  <blog_title>JBS Tech Blog</blog_title>
  <blog_url>https://blog.jbs.co.jp/</blog_url>
  <categories>
    <anon>Azure</anon>
    <anon>Terraform</anon>
  </categories>
  <description>以前terraform testを試しましたが、terraform test機能としてMockプロバイダーがTerraform v1.7よりサポートされております。 github.com 今回は本機能を試してみようと思います。 Mockプロバイダーとは 前提条件 事前準備 リソース作成用のTerraform定義ファイルを作成する テストファイル(.tftest.hcl)を作成する terraform testを実行する 設定値が正しい状態で実行する 設定値が誤った状態で実行する st.tfを一部設定変更する terraform testを実行する おわりに Mockプロバイダーとは Mockプ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.jbs.co.jp%2Fentry%2F2025%2F07%2F25%2F115959&quot; title=&quot;terraform testにてMockプロバイダーを試してみた - JBS Tech 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/j/jbs_nishiyamas/20250612/20250612154039.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-07-25 11:59:59</published>
  <title>terraform testにてMockプロバイダーを試してみた</title>
  <type>rich</type>
  <url>https://blog.jbs.co.jp/entry/2025/07/25/115959</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
