Is there a config or a pattern I can use to avoid ...
# general
b
Is there a config or a pattern I can use to avoid race conditions in Pulumi ? I'm trying to delete a type A DNS record to replace it with a CNAME record, but it seems Pulumi tries to create the CNAME first -and fails- instead of destroying the old resource before creating the new one.
delete_before_replace
does not help me here because the two records are 2 separate resources (they are in different stacks)
l
So the A-record is created in a Pulumi resource in one stack, but you want to replace it by creating the DNS CNAME record as a Pulumi resource in another stack?