https://pulumi.com logo
a

adamant-restaurant-73893

11/02/2018, 7:26 PM
Something for the weekend: thinking of migrating TF to Pulumi? @microscopic-florist-22719 has an extensive post on doing just that https://blog.pulumi.com/infrastructure-as-code-from-terraform-to-general-purpose-languages-with-pulumi
g

glamorous-printer-66548

11/02/2018, 8:48 PM
thanks for the post 🙂 . I think a follow up should describe how to migrate existing resources that are under management by terraform to pulumi. I did so recently by using
.get
on the resources that were generated by tf2pulumi. After importing the resources I exported the state, removed the “external” flag and changed my code from
.get
to
new ...
. Done 🙂
💯 1
m

microscopic-florist-22719

11/02/2018, 8:59 PM
Glad to hear that worked out! We actually have first-class support for this sort of workflow on our roadmap, both as part of
tf2pulumi
and as a general capability in Pulumi itself.