There are various reasons why this might happen, check these issues for ideas
https://github.com/hashicorp/packer/search?q=ResourceNotReady%3A+failed+waiting+for+successful+resource+state&type=Issues I would start by trying if it works when the user/role includes the Admin policy. If it works then your permissions are to tight. Second I would set the state wait timeout to something really long. If you need more help, include as much information as you can about your setup. Does it work when you run it on your computer? On Mon, Jun 10, 2019, 17:14 Zachary Estrella <[email protected]> wrote: > Hello, > I am trying to use packer in a gitlab pipeline and keep on running into > this error. > > Error waiting for AMI (ami-sdfgdsgsdfgsdfg) in region (us-east-1): > ResourceNotReady: failed waiting for successful resource state > > I have upgraded packer to the latest nightly build hoping that it would work, > but I am still not successful. Is there a packer binary that fixes this > behavior? > > -- > This mailing list is governed under the HashiCorp Community Guidelines - > https://www.hashicorp.com/community-guidelines.html. Behavior in > violation of those guidelines may result in your removal from this mailing > list. > > GitHub Issues: https://github.com/mitchellh/packer/issues > IRC: #packer-tool on Freenode > --- > You received this message because you are subscribed to the Google Groups > "Packer" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/packer-tool/2f4f6080-cc32-41e0-866a-e163f2292bca%40googlegroups.com > <https://groups.google.com/d/msgid/packer-tool/2f4f6080-cc32-41e0-866a-e163f2292bca%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list. GitHub Issues: https://github.com/mitchellh/packer/issues IRC: #packer-tool on Freenode --- You received this message because you are subscribed to the Google Groups "Packer" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/packer-tool/CALz9Rt8Rectezhr_2y_UZo4pwofr1hAiJa_m3oBwVxQn2LPi1w%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
