Vendor replays
Coding agent risks with Terraform: replays and fixes
1 replay involves Terraform: 0 reported incidents and 1 command class. Each one shows the call, a fix that needs no extra tool, and what KYA did in the replay.
Terraform destroy with auto approve
Fix: Set lifecycle { prevent_destroy = true } on the resources you cannot lose, so a plan that destroys them fails, and keep changes to .tf files under review, because removing the resource block removes the protection. Give the agent plan-only cloud credentials, and run apply in CI after a person approves the plan.
Replay result: Stopped.