Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
lillarspillars opened this issue Aug 4, 2023 · 0 comments · Fixed by #412

Comments

@lillarspillars
Copy link
Contributor

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 ☹️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant