Pulumi does a nice job of generating code for reso...
# general
f
Pulumi does a nice job of generating code for resources I
pulumi import
. Is there any way to get pulumi to generate this code without actually importing the infra into my stack? I’d prefer to use the “`import` resource” option to manage my stack state, but I still find the code generation very helpful.
e
https://github.com/pulumi/pulumi/issues/8836 Probably the easiest thing to do is to make a dummy empty stack, import into that, then just rm the stack (That's
pulumi stack rm
not
pulumi destroy
)
👍 2