This message was deleted.
# general
s
This message was deleted.
w
Also actively in progress. Import support in https://github.com/pulumi/pulumi/issues/1662 and https://github.com/pulumi/pulumi/issues/1635. And `alias`s to allow changing the name of a resources in https://github.com/pulumi/pulumi/issues/458. It's possible to manually edit state files to achieve both goals already today, but will be easier once these features land.
g
Noted - thanks
One more question on this: would the issues listed above support moving top-level resources from a pulumi program into a https://pulumi.io/reference/pkg/nodejs/@pulumi/pulumi/#ComponentResource (e.g. in a reusable npm package)?
w
Yes - that's one of the key topics raised in and tracked by https://github.com/pulumi/pulumi/issues/458. We believe the "aliases" approach there can be made to support this - but we still have work to do to finish the design of this.
👍 1