In the era of cloud-native technologies, Infrastructure as Code (IaC) has become essential for managing and provisioning cloud resources efficiently. In this talk, we will explore the process of migrating from CloudFormation to Terraform, showcasing a practical approach to leveraging the power of Artificial Intelligence (AI) for IaC migration. To address the complexities of IaC migration, we will introduce aiac.dev, an open-source tool developed by Firefly. aiac.dev harnesses the capabilities of AI to generate infrastructure code for multiple cloud providers. We will demonstrate how this tool can expedite the migration process by automatically generating Terraform code from CloudFormation templates, reducing the need for manual reimplementation. Furthermore, we will touch upon the importance of data security during the migration process. We will discuss best practices and strategies for safeguarding this data during the IaC migration, ensuring the integrity and confidentiality of critical information. By the end of this talk, attendees will gain insights into the IaC migration process from CloudFormation to Terraform, discover a powerful AI-driven tool for generating infrastructure code, and acquire knowledge on securing sensitive data during the migration journey. Join us to explore how AI(ac) can revolutionize IaC migration and elevate your infrastructure provisioning workflows.