fierce-ability-58936
10/25/2022, 8:45 PMpulumi refresh --import-pending-creates
magic but it didn't work out (and frankly it looks like it's meant to be something else?).
Ideally, there should be something like "pulumi up --import target"little-cartoon-10569
10/25/2022, 8:49 PMimport
opt, or have Pulumi write the code for you using pulumi import
.
You never need to figure out parents, since that's just a cosmetic thing (unless you're inheriting opts / providers).
Import IDs are calculated for you if you use pulumi import
fierce-ability-58936
10/25/2022, 8:53 PMpulumi up
and looks at the resources that are going to be created
2. The user knows the resources are already there and wants to just import them
3. They interactively mark them as "import only"
4. Or if they know in advance they want to import all, they can provide a regex for urns (to allow partial match) or several regexes via a flag.
?little-cartoon-10569
10/25/2022, 9:41 PMfierce-ability-58936
10/25/2022, 9:50 PM