sparse-intern-71089
10/25/2022, 8:45 PMlittle-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
little-cartoon-10569
10/25/2022, 8:51 PMfierce-ability-58936
10/25/2022, 8:53 PMfierce-ability-58936
10/25/2022, 9:12 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.
?fierce-ability-58936
10/25/2022, 9:23 PMlittle-cartoon-10569
10/25/2022, 9:41 PMlittle-cartoon-10569
10/25/2022, 9:43 PMfierce-ability-58936
10/25/2022, 9:50 PM