By default we create the new resource before destroying the old one, but you can override that by using deleteBeforeReplace
s
sparse-state-34229
02/01/2021, 2:24 AM
Hmm thanks. The docs for
acm.Certificate
say otherwise...is it an exception?
b
brave-planet-10645
02/01/2021, 10:25 AM
I think that's an error in our docs. I'll raise an issue for it
brave-planet-10645
02/01/2021, 10:38 AM
Yes I've checked this and the docs are wrong for
acm.Certificate
. We create before destroy (and that's why we do the auto-naming with the randomly generate suffix) to minimise the downtime. I've created an issue if you want to track this: https://github.com/pulumi/docs/issues/5084
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.