https://pulumi.com logo
#general
Title
# general
f

few-yacht-11623

06/15/2022, 2:10 PM
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

echoing-dinner-19531

06/15/2022, 3:45 PM
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
4 Views