Terraform Doesn’t Roll Back Failed Deployments

Many engineers assume a failed terraform apply leaves nothing behind.

Terraform actually executes independent provider operations. If one resource succeeds and a later resource fails, AWS may already contain partially deployed infrastructure, and Terraform records successful resources into state before stopping.

In this lesson, you’ll learn why failed applies are not transactional, how Terraform determines the failure boundary, and why understanding state is the key to recovering safely instead of repeatedly running terraform apply.

https://youtu.be/5pWOW1eEVGI