This document discusses Infrastructure as Code (IaC) and summarizes how Terraform and Ansible can be used together for IaC. It begins with an overview of IaC, describing how infrastructure components are defined as code and managed using tools like Terraform and Ansible. The benefits of IaC include reproducible, versioned, validated, and documented infrastructure. It then discusses using Terraform to build infrastructure in a declarative way and maintain state files, and using Ansible to configure existing infrastructure. Finally, it notes that Terraform and Ansible can be combined by running Terraform first to build infrastructure and then Ansible to configure it.