Closed BrennenMM7 closed 5 months ago
Also, since you change the documentation for the Config
structure, its docs partials need to be regenerated. You can use the generate
target from the Makefile to do so if you have make
installed on your machine.
@lbajolet-hashicorp Any chance of a green thumb? 🟢
This PR is to add image_architecture as a config for the packer plugin. Currently this plugin only supports provisioning Image Types of X86_64 in GCP disabling the ability to create ARM based images.
image_architecture will allow consumers of this plugin to modify the disk type being provisioned by GCE to enable ARM based packer images in GCP.
Test and validation are included with this PR to ensure that image_architecture is set to X86_64 or ARM64, by default it will select X86_64 as its the most common. This field is also optional so leaving it blank or an empty value will serve backwards compatibility for current configs.