Terraform is a software tool for provisioning infrastructure on cloud platforms, including AWS. Using Terraform, we can create, configure, or delete resources. Terraform allows automatic resource provisioning compared to the AWS Console. When compared to low-level REST APIs and SDKs, Terraform has a clean, high-level API. Terraform stores the current state of provisioned infrastructure in a state file.
Let's say the infrastructure provisioned on an account should be replicated on another account as part of disaster recovery. If we do not have IaC, all resources have to be reconfigured manually. However, if the whole infrastructure is modeled in the form of Terraform scripts, then it is easy to replay the infrastructure on any number of accounts. This approach is very readable and maintainable compared to hand-wiring infrastructure on the AWS console.
Terraform...