mirror of https://github.com/hashicorp/packer
It is possible for an instance to not immediately exist after it is launched. Previously, InstanceStateRefreshFunc would crash if this race condition were realized. This change takes the exact same approach of the function above, AMIStateRefreshFunc, treating 'InvalidInstanceID.NotFound' as if there were an empty result.pull/522/head
parent
4afe900535
commit
aeb0e8bc06
Loading…
Reference in new issue