Posted On: Apr 15, 2020
I will recommit the previous version of the code to be the new and current version in my VCS. With this a terraform run will be triggered which will be responsible for running the old code. Don't forget that terraform is more declarative. Make sure that all the things provisioned in the code for rollback are contained in the old code. Ensure that it does not get destroyed on running the old code because of the lack of these. In case the state file got corrupted from a terraform run recently, then I will take the help of the State Rollback Feature of Terraform Enterprise for roll back to the previous latest state which was in a good state. This could be done due to the reason that every state change is versioned.
Never Miss an Articles from us.
Terraform is a tool of the DevOps toolchain which is used for development and change in the infrastructure with safety. It is an efficient tool for the versioning of the infrastructure. This tool has ...
There are a bunch of reasons for giving preference to Terraform to be used as one of the significant tools of DevOps. The main motive of DevOps is to bring efficiency and quality in software delivery....
Main key features of Terraform include :Graphing - Its features of graphing that are built-in are helpful in visualizing the infrastructure. Custom Syntax - It's custom syntax is very friendly wh...