What would be the AWS_MAX_Attempts and AWS_POLL_DELAY_SECONDS value for making an ami more than 1 hour time limit? I tried running the script after setting the environment AWS_MAX_ATTEMPTS - 120 and AWS_POLL_DELAY_SECONDS -60 in my system. But didn't help. DO we have to set the environment variables in the system where the packer script is running or on the ami machine?
On Friday, 5 April 2019 19:35:06 UTC+5:30, Rickard von Essen wrote: > > Try increasing AWS_MAX_ATTEMPTS and AWS_POLL_DELAY_SECONDS, see > https://packer.io/docs/builders/amazon.html#exceeded-wait-attempts-while-waiting-for-tasks-to-complete > > On Fri, Apr 5, 2019 at 3:53 PM Nitin Rao <[email protected] <javascript:>> > wrote: > >> I get the below error after 30min.. Please help me out in letting me know >> how to overcome this? >> >> ==> amazon-ebs: Waiting for AMI to become ready... >> ==> amazon-ebs: Error waiting for AMI. Reason: <nil> >> ==> amazon-ebs: Error waiting for AMI. Reason: <nil> >> ==> amazon-ebs: Step "stepCreateAMI" failed >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/packer-tool/aa0e10a8-8124-45b3-8ab7-29907995636d%40googlegroups.com >> >> <https://groups.google.com/d/msgid/packer-tool/aa0e10a8-8124-45b3-8ab7-29907995636d%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/f82b1b5b-8658-40e7-a258-9a59d11d32b5%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
