hashicorp / packer-plugin-amazon

Packer plugin for Amazon AMI Builder

Home Page:https://www.packer.io/docs/builders/amazon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Enabling skip_create_ami should skip prevalidation of the AMI Name in amazon-ebs builder

lillarspillars opened this issue · comments

Description

Enabling skip_create_ami in the in amazon-ebs builder unnecessarily prevalidates the AMI name. This is an annoyance for development since I have to delete an existing AMI for a build that will not create/replace the AMI.

Expected Behavior

Enabling skip_create_ami should skip the AMI name prevalidation similar to the force_deregister and skip_save_build_region options.

Plugin and Packer version

Packer v1.9.2
amazon plugin : 1.2.6

Use Case(s)

Development builds in Packer

Workaround

Enable force_deregister which forces the prevalidation to be skipped, however this comes at the expense of deregistering the existing AMI at the end ☹️