There's no magic here, friends.
$ terraform apply # fails $ git checkout HEAD~ # checkout the prior commit $ terraform apply
You can checkout a specific commit sha with:
git checkout <commit sha>
I don't recommend using this with any stateful resource types... RDS, EKS, etc.
Top comments (0)