packer-cn/helper/multistep
Marco Molteni 4d7e42220b
scaleway: add pre validate step (check image and snapshot names) (#9840)
* Implement Stringer inteface for multistep.StepAction

* scaleway: add pre validate step (check image and snapshot names)

Before, it was possible to create multiple images with the same name,
leading to a confusing and wasteful situation (same for snapshots).

Now, we perform the same kind of checks done by the AWS EC2 builder,
and refuse to proceed if there is an existing image with the same name
(same for snapshots).

As usual, invoking `packer build -force` will bypass the checks.

Closes #9839.
2020-09-18 15:37:48 -04:00
..
LICENSE.md trying to add context to state bag 2018-01-24 17:09:15 -08:00
basic_runner.go [Builder|Build|PostProcessor|Provisioner|Hook]Server: context cancel using a RPC cancel method 2019-04-03 15:55:55 +02:00
basic_runner_test.go [Builder|Build|PostProcessor|Provisioner|Hook]Server: context cancel using a RPC cancel method 2019-04-03 15:55:55 +02:00
debug_runner.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
debug_runner_test.go [Builder|Build|PostProcessor|Provisioner|Hook]Server: context cancel using a RPC cancel method 2019-04-03 15:55:55 +02:00
doc.go trying to add context to state bag 2018-01-24 17:09:15 -08:00
multistep.go scaleway: add pre validate step (check image and snapshot names) (#9840) 2020-09-18 15:37:48 -04:00
multistep_test.go rename interpolation context from ctx to ictx and contexts to ctx to avoid conflicts 2019-04-03 15:56:15 +02:00
statebag.go Add content_library_destination to import VM template to a Content Library (#9551) 2020-07-10 11:01:10 +02:00
statebag_test.go trying to add context to state bag 2018-01-24 17:09:15 -08:00