https://pulumi.com logo
Title
l

little-market-63455

05/26/2021, 12:31 PM
Hi all, anything coming up for converting CloudFormation templates to Pulumi? I understand work still needs to be done after the transformation but it's easier than rewriting 10,000 lines of YAML by hand 😞
👀 1
b

bumpy-summer-9075

05/26/2021, 12:40 PM
There isn't even a tool to convert CF to Terraform, so I wouldn't hold my breath on this one. I think your best bet would be to use https://github.com/dtan4/terraforming and then convert that to Pulumi, but that sounds... fragile
l

little-market-63455

05/26/2021, 12:43 PM
aye cheers man. let the tears continue 😢
b

brave-planet-10645

05/26/2021, 12:45 PM
We have a guide on migrating from Cloudformation to Pulumi. If you have a lot of resources it might take a while. Importing might be a better option, especially since you can pass in a json file of resource information
l

little-market-63455

05/26/2021, 12:53 PM
Thank you @brave-planet-10645 and I have seen it indeed. I just was hoping for a way to rewrite all of this monstrosity without bashing the keyboard for 2 month
b

brave-planet-10645

05/26/2021, 12:54 PM
Importing might be a better option. If you can parse your cloudformation template and turn it into the json required for multiple resources, that might be useful: https://www.pulumi.com/docs/reference/cli/pulumi_import/
l

little-market-63455

05/26/2021, 12:57 PM
That is the option I am going with for sure 👍