<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>akira6592</author_name>
  <author_url>https://blog.hatena.ne.jp/akira6592/</author_url>
  <blog_title>てくなべ</blog_title>
  <blog_url>https://tekunabe.hatenablog.jp/</blog_url>
  <categories>
    <anon>ansible</anon>
    <anon>terraform</anon>
  </categories>
  <description>はじめに Ansible の cloud.terraform.terraform モジュールは、Ansible から Terraform を呼べるモジュールです。 モジュールで指定するオプションに応じて、さまざま terraform コマンドが実行されます。 で、「このときは実際にどういうコマンドが実行されるんだろう？」と気になることがあります。 調べてみると、Ansible 本体の AnsibleModule クラスの run_command メソッド経由でコマンドが実行されることがわかりました。 このメソッドの中ではログを出力する処理があるので、このログを見ればどんなコマンドが実行されるか…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftekunabe.hatenablog.jp%2Fentry%2F2024%2F06%2F09%2Fansiblle_terraform_debug_executed_commands&quot; title=&quot; [Ansible/Terraform] cloud.terraform.terraform モジュールでどんな 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>https://cdn-ak.f.st-hatena.com/images/fotolife/a/akira6592/20240609/20240609205702.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-06-09 21:00:56</published>
  <title> [Ansible/Terraform] cloud.terraform.terraform モジュールでどんな terraform コマンドが実行される確認する</title>
  <type>rich</type>
  <url>https://tekunabe.hatenablog.jp/entry/2024/06/09/ansiblle_terraform_debug_executed_commands</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
