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

Template is missing source_ami_id in the variables section #1

Closed
rickard-von-essen opened this issue Jul 10, 2018 · 5 comments
Closed

Comments

@rickard-von-essen
Copy link
Contributor

rickard-von-essen commented Jul 10, 2018

The template reference {{ user `source_ami_id`}} but no such user variable is declared. The Makefile also passes this as a variable.

@rickard-von-essen
Copy link
Contributor Author

Hmm, this seems like a bug in packer...

@rickard-von-essen
Copy link
Contributor Author

Packer issue hashicorp/packer#6473

@mbartsch
Copy link
Contributor

It works for me, with packer 1.2.4, which version of packer are you running?

@rickard-von-essen
Copy link
Contributor Author

Yeah, I realise it works, but it shouldn't, hence I filed hashicorp/packer#6473. When that is fixed this won't work.

@mbartsch
Copy link
Contributor

Awesome, I'm not an expert on github, but I added the fix to my previous PR , see issue #2 for details.

306-san referenced this issue in 306-san/amazon-eks-ami Aug 7, 2019
vglen pushed a commit to vglen/amazon-eks-ami that referenced this issue Oct 22, 2019
@davidkarlsen davidkarlsen mentioned this issue Jan 22, 2020
varun-armis referenced this issue in varun-armis/amazon-eks-ami Jan 30, 2024
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

No branches or pull requests

2 participants