https://pulumi.com logo
l

lively-crayon-44649

08/18/2022, 9:29 AM
I also wonder if this the purpose of `initialize`/`getData` in
ComponentResource
? So that it's easier to make construction pick between "create something new" and "reference something existing"?
awsx.ec2.Vpc
seems to have this sort of pattern but again open to any feedback/suggestions. There is https://github.com/pulumi/pulumi/issues/4133 on GitHub but it's not really gone anywhere yet. Thanks!