Exlude IPs that have an ENI attached The AWS API will return an error when you try to attach an EIP to an instance if the EIP is already attached to an ENI. Since AWS will not allow you to attach the EIP, then the EIP should be exluded from the list of avaliable IPs.
Exlude IPs that have an ENI attached
The AWS API will return an error when you try to attach an EIP to an instance if the EIP is already attached to an ENI. Since AWS will not allow you to attach the EIP, then the EIP should be exluded from the list of avaliable IPs.

skymill/aws-ec2-assign-elastic-ip