Just recently added a line to my aws_instance to make it grab the same private IP everytime it spins up.
I tainted the instance, then I’m trying to do a targeted plan/apply for the aws_eip_association so it will rebuild the instance and apply the EIP. However whenever I try to apply I get InvalidIPAddress.InUse:
Shouldn’t it destroy the instance before trying to rebuild? Anyone know how to get around this other than doing the instance and eip association separately?
Appreciate the help.