packer-community / packer-windows-plugins

A suite of Packer plugins for provisioning Windows machines
112 stars 20 forks source link

Packer run fails with "The instance ID does not exist (InvalidInstanceID.NotFound)" #37

Closed mefellows closed 9 years ago

mefellows commented 9 years ago

I am starting to see the following issues regularly during builds:

It appears to be related to issues with upstream Packer:

I believe the issue is due to eventual consistency in AWS APIs meaning that occasionally, instances will be created and subsequent API calls won't know they yet exist.

I think if we were to wrap the the call to retrieve the instance in a retryable function similar (if not) InstanceStateRefreshFunc then we could work around the issue.

mefellows commented 9 years ago

Closed due to #38