Is there a way to use `pulumi import` without upda...
# typescript
m
Is there a way to use
pulumi import
without updating state possibly?
b
Do you mean just to get the code for the resource?
m
@brave-planet-10645 Yes, but when you do
import
it also updates the stack, I just want the code without updating the stack.
💯 2
b
I don't believe that this is possible, but it's a great idea. Would you mind opening it as a feature request here
m
@brave-planet-10645 sure! I'll write it up now.
b
Appreciate it
🤘 1
b
As a workaround, you could login to a different state, like —local and then do the import
m
@brave-planet-10645 https://github.com/pulumi/pulumi/issues/6653 <--- here ya go. I'm not sure what else to write (This is my first enhancement request submission), any improvement suggestions to the request welcomed!
🙌 1
@billowy-army-68599 interesting! I'll try that