sparse-intern-71089
01/14/2023, 10:30 AMclever-painter-96148
01/14/2023, 10:48 AMresources.json
file that import resources with components as parents?clever-painter-96148
01/14/2023, 5:42 PMopts=ResourceOptions(import_="cloud-provider-identifier")
makes it much easier!ancient-policeman-24615
01/14/2023, 6:19 PMimport
is essentially a way to tell Pulumi: “grab the underlying state of a resource from a cloud provider”. I think you’ll need to add components and providers after you run the import.clever-painter-96148
01/17/2023, 9:38 AMopts=ResourceOptions(import_="cloud-provider-identifier")
did the trick. I am now able to import all legacy resources into my Pulumi state, with components. 🙂