I need to take vm snapshot programmatically by reading vmid from a storage bucket .
first task is reading from Storage bucket (vm detail) ,
next is to run vm snapshot (using terrform) -
I need to do it for each project , what are different way to do this , any suggested one.
for reading the storage bucket - i need to write some scripts/functions, . please suggest how to perform these 2 task