Ultimately, you don't apply deleteBeforeReplace on the component but the custom resources within a component. Given that there is no current way to map a single resource option to N number of custom resources, it is omitted.
👍 1
green-stone-37839
03/15/2023, 7:53 PM
There is a bit more commentary here as well as what's possible today.
b
billions-xylophone-85957
03/15/2023, 7:54 PM
Gotcha, thanks, makes sense. I would call it out in BIG BOLD LETTERS in the docs though, as a fair warning :)
g
green-stone-37839
03/15/2023, 7:55 PM
It's a good point. There use to be a warning shown in the CLI if you ran into this situation, but it was removed for other reasons.
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.