DEV Community

John Mitchell
John Mitchell

Posted on

Convert CloudFormation to Terraform in two seconds

.

Last time I converted between AWS CloudFormation and Terraform, I cheated. I enabled Copilot, told it to convert the CFN script to Terraform, and it worked!

Since AI always creates the form of the answer but not necessarily the correct answer, you have to very very carefully examine the output. But for me it took 2 seconds to convert, then 30 minutes to double-check, vs a couple hours tediously writing Terraform.

Top comments (0)