fresh-pilot-59899
04/17/2019, 9:42 AMshy-army-45455
04/17/2019, 9:51 AMwhite-balloon-205
pulumi state delete '<urn>'
command which can force delete a resource out of your state file. This will not take care or deleting from your cloud provider - so you would need to manually do that yourself. And then if you haven't changed your code, the resource would get recreated on the next update
.fresh-pilot-59899
04/17/2019, 5:04 PMwhite-balloon-205
Yes - this is something we could support in the future. Just to make sure, you want that to delete the resource in the cloud provider, but then you want apulumi destroy -resource resource_name
pulumi update
immediately afterward to re-create it?fresh-pilot-59899
04/17/2019, 6:55 PMwhite-balloon-205
fresh-pilot-59899
04/17/2019, 6:58 PM