3/6/2026 at 3:36:00 PM
"Instead of going through the plan manually, I let Claude Code run terraform plan and then terraform apply".Doesn't matter if it was you or the bot running terraform, the whole point of a two-step process is to confirm the plan looks right before executing the apply. Looking at the plan after the apply is already running is insane.
by grizmaldi
3/6/2026 at 3:40:53 PM
Shoot first and ask questions later! Measure nonce and cut thrice!by bombcar
3/6/2026 at 4:45:28 PM
Surely more and harder leetcode interviews will prevent this from happeningby hnthrow0287345
3/6/2026 at 4:24:05 PM
More like 'Shoot yourself first and then complain out it later!'by Eddy_Viscosity2
3/6/2026 at 4:12:25 PM
Vibe SRE-ing.by esafak
3/6/2026 at 4:29:18 PM
I mean it would be nice if the Claude and Codex CLIs had a setting to default to plan mode, every now and then I’m trying to put together a plan, only to realize that it’s not in plan mode and already making changes.by DrJokepu
3/6/2026 at 5:28:27 PM
You should not, under any circumstances, let an LLM touch the Terraform CLI. It's completely irresponsible to give an error-prone system like an LLM that kind of access.by bigstrat2003
3/6/2026 at 7:28:14 PM
This is what I can't get over - who in their right mind would _ever_ give an agent enough access to delete prod data?by colpabar
3/6/2026 at 7:56:33 PM
Someone who should be immediately fired.by bigfatkitten
3/6/2026 at 7:30:14 PM
This is the purpose of sandbox environments.by EdNutting
3/6/2026 at 4:31:15 PM
What about ~/.claude/settings.json
{"permissions": {"defaultMode": "plan"}}
by abirch
3/6/2026 at 4:30:23 PM
Claude at least does: add "permissions": { "defaultMode: "plan" } to your settings.json.I'll note this only applies to new sessions though – if you do /clear and start working on something else it doesn't re-apply plan mode (I kind of wish it did)
by sobjornstad
3/8/2026 at 2:55:05 PM
I mean that sentence is basically your RCAby Sathwickp