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 'associate_public_ip_address' and 'target_ami_name_prefix' #65

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

charlestjackson
Copy link

Description

Two new variables added to Packer config.

Motivation and Context

Fixes issue 64

How Has This Been Tested?

These changes were tested by running against an AWS account using a non-default VPC and a public subnet that was not configured to auto-assign public IPs.

Screenshots (if appropriate):


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@@ -77,7 +77,19 @@ variable "instance_type" {
}

variable "ami_name_prefix" {
description = "The prefix to use when creating the AMI name. i.e. - `<ami_name_prefix>-<eks_version>-<timestamp>"
description = "The prefix identifying the source AMI to use when creating the AMI. i.e. - `<ami_name_prefix>-<eks_version>-<timestamp>"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be better to just update the variable description to make it clear that its the name prefix that is used to both lookup the base AMI as well as the name prefix used for the resulting AMI

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

Successfully merging this pull request may close these issues.

New variables - assign public IP and target AMI name
3 participants