hashicorp / packer-plugin-googlecompute

Packer plugin for Google Compute Builder
https://www.packer.io/docs/builders/googlecompute
Mozilla Public License 2.0
23 stars 51 forks source link

builder: fix WrappedStartupScriptError acctest #222

Closed lbajolet-hashicorp closed 1 month ago

lbajolet-hashicorp commented 1 month ago

The acceptance test succeeded as it only checked for the exit code for Packer, but it actually failed for the wrong reasons. First the name of the option in the docs was erroneous, so Packer would immediately fail because of this. Second, the script's path was not valid, so Packer would also error almost immediately, as the script couldn't be found.

This commits fixes both problems, so the test still fails, but because the script fails to execute, not for unrelated reasons.