https://pulumi.com logo
w

worried-city-86458

09/09/2019, 10:29 PM
Rather than "adopting", is there a way to convert an existing CloudFormation stack to Pulumi code? Even if values are hard coded, that would expedite porting to Pulumi...
w

white-balloon-205

09/09/2019, 10:58 PM
There is not any automated way - though generally this is a very 1:1 process. Note that you can also manage the deployment of CloudFormation templates with the
aws.cloudformation.Stack
resource, so you can leave some resource in CloudFormation and still move to deploying via Pulumi. That may not be what you are looking for exactly here - but it often helpful for staging the migration process.
w

worried-city-86458

09/09/2019, 11:02 PM
Right. I'd definitely prefer to move the template over. Was just wondering if there was a way to adopt and then export to code or something. It may be very 1:1 but anything that can expedite porting large templates would be handy.
w

white-balloon-205

09/09/2019, 11:49 PM
Yes - we'd love to add some more automation around this - but currently a manual process is needed for CloudFormation (we have
tf2pulumi
for converting from Terraform).