def destroy_resource(resource):
    try:
        resource.destroy()
    except:
        err(None, "Destroying resource.")
Destroy a ``libcloud`` resource.
dataset/ETHPy150Open ClusterHQ/flocker/admin/cleanup.py/destroy_resource