How to destroy image after provisioning

hi team,

i have a image that is built using packer and i am provisioning few machines using terraform on openstack.

I would like to know is there any way that i can destroy the particular image which was used for provisioning before from the cloud infra not the infra vm which were created from it.