Why use Terraform instead of AWS CloudFormation for IaC?
The question is about Terraform
Terraform follows the principle of being cloud-agnostic, making it a better infrastructure-as-code than AWS CloudFormation. So users can manage resources across several cloud providers with one tool. HCL is its configuration language that supports highly readable and modular configuration, thus, organizing, reusing, and sharing infrastructure code is pretty simple. Strong state management is another important capability of Terraform for efficiently tracking all the changes being made in the infrastructure by preventing configuration drift. With Terraform, the open-source ecosystem provides access to a wide library of reusable community modules to speed up the development, adding flexibility and scalability for multi-cloud and hybrid infrastructure environments.