Tip for anyone importing resources using `pulumi i...
# general
l
Tip for anyone importing resources using `pulumi import`: don't forget about the
--provider
option. If you use non-default providers, then not using
--provider
will cost you several hours.
Post-"Aha!" time required to solve the problem: 24 seconds.
Copy code
Resources:
    = 1 imported
    33 unchanged

Duration: 24s
b
I'm always using a PowerShell script which creates a JSON import file including provider and parent resource mapping out of a
pulumi pre --json
output.