https://pulumi.com logo
#general
Title
# general
p

plain-eye-9759

11/29/2019, 11:18 AM
Hi everyone, how can prevent I partial creation of a resource? In my case it happens for a database account.
pulumi up
failed for some reason in the first run, and the database account managed to slip through. Subsequent
pulumi up
tried to create that same resource and failed because of name uniqueness.
pulumi refresh
didn't work either How can I handle this?
w

white-balloon-205

11/29/2019, 5:20 PM
What was the failure? If the resource creation fails without reporting back the id of the resource, there is no way for Pulumi to track the existence of the leaked resource. We go to lengths to ensure we never lose track of a created resource in the Pulumi layer - but there may be bugs in underlying clouds or upstream resource providers that could lead to this. If you have a repro - opening an issue would be great.
p

plain-eye-9759

12/04/2019, 9:57 AM
Thanks @white-balloon-205, I couldn't repro the issue since then.