I am creating a Cloudformation template that take as an input parameter the Allocation ID of and existing Elastic IP address. I have code that requires the actual IP address associated with the Allocation ID.
How do I get the IP address using the Allocation ID of EIP in the template?
If this is not possible, can we go the other way? That is, change the input parameter to the IP address of the existing EIP and somehow get the Allocation ID associated with EIP?
I require both the IP and allocation ID of the EIP within the template and I'm trying to avoid passing both in as parameters and instead determine one from the other.