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
Overview of the Issue
When building multiple amazon AMIs, one of them always fails with ResourceNotReady: exceeded wait attempts.
Adding aws_polling block doesn't help, I tried up to a combined wait of up to 3 hours.
Running the same packer config with parallel builds disabled (-parallel-builds=1) succeeds without even aws_polling block.
Reproduction Steps
Steps to reproduce this issue
Save the file below as aws-ubuntu.pkr.hcl in an arbitrary new folder.
Run packer build . in the same folder
Notes:
I tried adding a plugin block to update the amazon plugin but the result was the same.
I have also tried using the docker image hashicorp/packer instead of the locally installed packer but the result was the same.
This issue was originally opened by @diaasami in https://github.com/hashicorp/packer/issues/11976 and has been migrated to this repository. The original issue description is below.
Community Note
Overview of the Issue
When building multiple amazon AMIs, one of them always fails with
ResourceNotReady: exceeded wait attempts
. Addingaws_polling
block doesn't help, I tried up to a combined wait of up to 3 hours. Running the same packer config with parallel builds disabled (-parallel-builds=1
) succeeds without evenaws_polling
block.Reproduction Steps
Steps to reproduce this issue
aws-ubuntu.pkr.hcl
in an arbitrary new folder.packer build .
in the same folderNotes:
plugin
block to update the amazon plugin but the result was the same.hashicorp/packer
instead of the locally installed packer but the result was the same.Packer version
Packer v1.8.3
Simplified Packer Template
Operating system and Environment details
Fedora 35, x86_64