@square-rose-64819 Personally i use conditionals based on stack config. I think this is the most robust solution.
h
hundreds-musician-51496
08/17/2020, 7:24 PM
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
square-rose-64819
08/17/2020, 8:30 PM
i'm confused about this though, as typescript doesn't have conditional imports
No matter how you like to participate in developer communities, Pulumi wants to meet you there. If you want to meet other Pulumi users to share use-cases and best practices, contribute code or documentation, see us at an event, or just tell a story about something cool you did with Pulumi, you are part of our community.