I would like to contribute to this repo by creating an machine image gcp resource, basically is a clone of googlecompute but instead of saving as another gcp image, it will be saved as machine image.
https://cloud.google.com/compute/docs/machine-images
Should i start creating another builder called googlecomputemachineimage?
The process will be basically the following:
- Use the CreateImage part of the code to create a google compute instance and run provisioners.
- Create the machine image based on the running google compute instance.
- Delete the running instance.
The other option would be to extend the current googlecompute builder and add a conditional to create the machine image create_machine_image and the steps will basically create a new machine image and teardown the instance afterwards without creating a real gcp image.
I would like to contribute to this repo by creating an machine image gcp resource, basically is a clone of
googlecomputebut instead of saving as another gcp image, it will be saved asmachine image.https://cloud.google.com/compute/docs/machine-images
Should i start creating another builder called
googlecomputemachineimage?The process will be basically the following:
The other option would be to extend the current
googlecomputebuilder and add a conditional to create the machine imagecreate_machine_imageand thestepswill basically create a new machine image and teardown the instance afterwards without creating a real gcp image.