Short paper

Automating Terraform Code Migration through Provider Evolution Knowledge

Abstract

Terraform is a popular Infrastructure-as-Code (IaC) tool for managing multi-cloud environments, but its providers evolve rapidly, introducing frequent breaking changes. These frequent updates pose migration challenges due to fragmented documentation and limited support, leading to delayed upgrades and accumulated technical debt. We present \textsc{TerraMod}, a framework that automates Terraform configuration migration across provider versions by leveraging external knowledge sources — changelogs, API schemas, and deprecation links. Evaluated on real-world breaking changes from the AWS Provider, \textsc{TerraMod} significantly reduces manual effort and mitigates technical lag. We plan to release the dataset upon publication.