Breakfixing
Now that we’ve looked at the change we know is coming, and the change that we know is coming but we can’t control when, we need to take a look through a more tactical lens to help us respond to the inevitable little bumps along the way of our journey of managing existing environments with Terraform. These are going to be smaller issues that are not massively impactful but can definitely become a burden if we are ill prepared. But once you get used to them—and how to respond—they become easy to manage!
Apply-time failures
While terraform plan
provides us with excellent intelligence on what changes (or lack thereof) need to be made to our environments, sometimes things can go wrong in unexpected ways during the terraform apply
operation even for the most well-intentioned plan. There are some things that you can do to try to stay ahead of these issues and lessen the frequency of encountering them.
As we know, Terraform executes under an...