docs icon indicating copy to clipboard operation
docs copied to clipboard

[Idea to consider] Improve TF conversion www page

Open meagancojocar opened this issue 11 months ago • 1 comments

Problem description

We have this: https://www.pulumi.com/tf2pulumi/

Some improvements we could look at making:

  • Better default example, this Pulumi program doesn't run for me due to an outdated Ubuntu version
  • better performance if we can
  • a useable tool for folks to dump code and get quick conversions
  • should this be part of Pulumi AI?

meagancojocar avatar Jan 29 '25 00:01 meagancojocar

See commentary here: https://github.com/pulumi/docs/issues/13904#issuecomment-2635142274 for some context on this tool/web page. One thing I've noticed, trying to use Copilot and pulumi convert is that the convert subcommand is more reliable than Copilot in terms of generating working code, but neither of them reliably converts automatically. I almost always have to manually edit the code to get the output to work from either tool.

With Copilot, this is especially pronounced when going from GPL to GPL rather than HCL to GPL (e.g. doing something like taking a working Python Pulumi program, pasting it into Copilot and asking it to convert to TypeScript produces pseudo-TypeScript that has never worked out of the box for me).

thoward avatar Feb 04 '25 22:02 thoward