This message was deleted.
# general
s
This message was deleted.
g
@square-rose-64819 Personally i use conditionals based on stack config. I think this is the most robust solution.
h
The "import" argument let's you start managing an existing resource. So in test environment you can leave it out, but in prod you can have the argument present.
s
i'm confused about this though, as typescript doesn't have conditional imports
h
Not a typescript import, but an argument to the resource constructor. https://www.pulumi.com/docs/guides/adopting/import/