<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Terraform on Kuldeep Pisda</title><link>https://kdpisda.in/tag/terraform/</link><description>Recent content in Terraform on Kuldeep Pisda</description><generator>Hugo</generator><language>en-us</language><lastBuildDate>Thu, 29 Oct 2026 08:30:00 +0530</lastBuildDate><atom:link href="https://kdpisda.in/tag/terraform/index.xml" rel="self" type="application/rss+xml"/><item><title>A Targeted tofu plan Said '2 to add'. The Unscoped Apply Replaced Both Production Servers</title><link>https://kdpisda.in/tofu-targeted-plan-unscoped-apply-replaced-servers/</link><pubDate>Thu, 29 Oct 2026 08:30:00 +0530</pubDate><guid>https://kdpisda.in/tofu-targeted-plan-unscoped-apply-replaced-servers/</guid><description>&lt;p&gt;On 28 October a small project called event-junkie published a &lt;a href="https://github.com/enorm-labs/event-junkie/issues/4135"&gt;postmortem&lt;/a&gt; for a production outage of about 40 minutes. The change that caused it was meant to add two DNS records. The operator ran &lt;code&gt;tofu plan -target=hcloud_zone_rrset.redirect&lt;/code&gt; and got &lt;code&gt;2 to add, 0 to change, 0 to destroy&lt;/code&gt;. Then they ran &lt;code&gt;tofu apply&lt;/code&gt; without &lt;code&gt;-target&lt;/code&gt;. The apply planned the whole stack, reported &lt;code&gt;5 to add, 3 to destroy&lt;/code&gt;, and replaced both production servers.&lt;/p&gt;</description></item></channel></rss>