Those are environment variables so try something like

AWS_MAX_ATTEMPTS=100 packer build...

On Tue, Jan 8, 2019, 17:58 Morgan Andrew Davis <[email protected]
wrote:

> Hey, might anyone be able to help me with something? I am currently
> working on something for work using packer. I am attempting a series of
> steps with packer, the last of which is an import with the amazon import
> post processor. The issue I would like to ask about is the issue of
> timing out with the error: ResourceNotReady: exceeded wait attempts. I have
> tried to debug this myself and have come across the advice to set the
> AWS_MAX_ATTEMPTS and AWS_POLL_DELAY_SECONDS to values higher than the
> default. I have done so, or at least I have as far as I can tell, with
> adding the following section to my json file:
>        "variables": {
> "AWS_MAX_ATTEMPTS": "1000",
> "AWS_POLL_DELAY_SECONDS" :"10"
> }
> Even after adding this though it still continues to fail. Does anyone have
> any advice on how I can proceed? Have I just screwed up the variables
> section or is there anything else I can try. I'll attach a copy of my file
> here minus the access and secret keys since I don't think I need to be
> sharing that. Thank you to anyone who can help.
>
> --
> 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/c14e06a8-4afd-45f5-8386-763c80ee69f5%40googlegroups.com
> <https://groups.google.com/d/msgid/packer-tool/c14e06a8-4afd-45f5-8386-763c80ee69f5%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/CALz9Rt8e6%3DT9LQaoXEy%3DGXJwsdmAo7kFHokYeyy12VsRZgM8xw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to