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

New variables - assign public IP and target AMI name #64

Open
charlestjackson opened this issue Jul 13, 2023 · 0 comments · May be fixed by #65
Open

New variables - assign public IP and target AMI name #64

charlestjackson opened this issue Jul 13, 2023 · 0 comments · May be fixed by #65
Labels
enhancement New feature or request

Comments

@charlestjackson
Copy link

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Description

Add two new variables, associate_public_ip_address and target_ami_name_prefix.

Motivation

The Packer EBS Builder includes a variable to force the association of a public IP address to the builder. This is needed when using a non-default VPC that does not automatically assign public IP addresses. Exposing that variable to users would be beneficial.

The ami_name_prefix variable is currently misleading. The description is "The prefix to use when creating the AMI name", which is accurate, but this same prefix is used to locate the source AMI when building. This means the variable cannot be changed to customize the target AMI name. We can expose a second variable that is specifically used for the target AMI name and update the ami_name_prefix variable to more accurately describe its use.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant