Terraform: Error waiting for AMI: unexpected state 'failed', wanted target 'available'

Created on 12 Aug 2015  ยท  9Comments  ยท  Source: hashicorp/terraform

Hey there, I'm in the process of switching from AWS EC2 packer builds to using VPS. I first build a base image installing debian, nginx, and configuring things. Later, I use that base image to install a node app on top. This worked great before changing to VPS. Now I'm seeing this error.

screen shot 2015-08-12 at 17 59 14

Can you think of any possible issues?

Most helpful comment

Turns out our problem was that we hit the snapshot limit. Use trusted adviser's performance tab to check.

All 9 comments

It didn't happen the second time around, though.

@bevacqua this looks like a Packer issue rather than a Terraform one. Did you mean to open this in the Packer repo?

Oops. Sorry about that.

I couldn't find a packer issue about this? I'm seeing this same issue, was it resolved or is there a packer issue I'm am missing? Thanks.

It went away and I never saw it again so I didn't open another one over at the packer repo

Transient AWS a potential diagnosis... so that helps. Thanks.

Turns out our problem was that we hit the snapshot limit. Use trusted adviser's performance tab to check.

Yes, I had a similar issue. Resolved after increasing soft limit for snapshot from 10K to 20K

I'm going to lock this issue because it has been closed for _30 days_ โณ. This helps our maintainers find and focus on the active issues.

If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

Was this page helpful?
0 / 5 - 0 ratings