cloudformation-coverage-roadmap icon indicating copy to clipboard operation
cloudformation-coverage-roadmap copied to clipboard

AWS::EC2::EIP - Address

Open chalupaa opened this issue 6 years ago • 4 comments

1. Title

AWS::EC2::EIP-Address

2. Scope of request

Support the Address property in AWS::EC2::EIP resource

3. Expected behavior

When Address attribute is specified, the specified address will be associated with the EIP allocation rather than a random address from the address pool.

4. Suggest specific test cases

When using bring-your-own-ip IPv4 addresses and you want to allocate a specific IP address to another resource (NAT Gateway, EC2 instance, or Network Load Balancer)

5. Helpful Links to speed up research and evaluation

AWS docs: https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AllocateAddress.html https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-ec2-eip.html

6. Category (required) - Will help with tagging and be easier to find by other users to +1

Networking & Content Delivery

7. Any additional context (optional)

chalupaa avatar May 27 '20 19:05 chalupaa

Could you please add the feature. It would be extremely useful for me.

anesmashnyi-godaddy avatar Jan 22 '23 21:01 anesmashnyi-godaddy

This has been resolved by the EC2::EIP Resource team. Let us know if there is still an issue

himanshs23 avatar Nov 21 '24 22:11 himanshs23

Please reopen as this issue has not been resolved.

Example:

Resources: firewall1Byoip2: Type: AWS::EC2::EIP Properties: Domain: vpc PublicIpv4Pool: ipv4pool-ec2-xxxxxxxxxxxxxxx Address: 1.2.3.4

Fails with the following error: The parameter PublicIpv4Pool cannot be used with the parameter Address

StephanR2 avatar Feb 17 '25 12:02 StephanR2

Still get the message: "The parameter PublicIpv4Pool cannot be used with the parameter Address

But Specifying the Address without the PublicIpv4Pool works, even if the IP is in that Pool. And it maps the EIP to the Address pool automatically

siemenroosen avatar Mar 12 '26 10:03 siemenroosen