-
Notifications
You must be signed in to change notification settings - Fork 9.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Supporting EIPs with specified BYOIP addresses #8876
Supporting EIPs with specified BYOIP addresses #8876
Conversation
This has been tested with my company's IP block. |
I have tested this and it makes my workflow 10000% easier!!! Thanks |
Any idea when this may get reviewed/merged? |
any idea when we can see this reviewed? |
This is a great idea! |
Bump - really like this feature |
This will be really useful for us. Thanks |
Please consider adding this! |
Why hasn't this been merged? |
I'm waiting on code review, I don't know why it hasn't gotten any review though. |
@arwilczek90 Sorry, that wasn't directed at you. I've faced a similar issue with a PR in a different provider and I was venting a little bit in that regard. |
@aaronmell No worries 😃 |
Would greatly appreciate having this! As an alternative, we've had to create a null_resource which calls a custom python script. When can this be reviewed? |
Can we please get an update on this !!!! |
Any chance that this will ever get added? |
Any updates on this front? We just tripped over the 1year mark. |
@bflad any chance we can get a review and merge on this. If you need to test I have access to a dev env that has a set of BYOIPs that I could share. (I am pinging you as you merged a similar pr for outpost) |
I guess it's time to migrate to CDK? |
Any chance for any feed back on this? cc: @bflad |
This looks good, code diff looks good, just needs an appropriate person to merge, be nice if it was done before my BYOIP block goes live, manually creating the EIPs without terraform is going to suck in managing it. |
Can we get some movement on this? |
f5659a3
to
19193d7
Compare
ba31f8b
to
ebf98ee
Compare
One concern with this PR is the ability to perform meaningful testing of this new functionality in an automated way. Currently we do not have access to test with a public block of IPs. Perhaps the risk/reward still weighs in favor of adding the functionality. Do you have any suggestions? Potential ideas for ways forward:
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-byoip.html#byoip-provision |
In the past when we have had acceptance tests which the HashiCorp maintainers cannot reasonably run, we have provided code reviews/updates for consistency, then asked the contributor and another community member to run and verify the acceptance testing. Might be the best path forward here. |
Unfortunately I'm not longer at the company I wrote this for(and like most people don't have an IPv4 block to play with), but @ravenbyron or @hsmithatemma are still there and possibly have access to a couple of IP addresses that can be used to provide test results. |
ebf98ee
to
ae3ea7f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great! 🎉
Output of acceptance tests (GovCloud):
--- PASS: TestAccAWSEIP_basic (32.33s)
--- PASS: TestAccAWSEIP_BYOIPAddress_default (32.32s)
--- PASS: TestAccAWSEIP_disappears (25.79s)
--- PASS: TestAccAWSEIP_Instance (137.48s)
--- PASS: TestAccAWSEIP_Instance_associatedUserPrivateIP (236.63s)
--- PASS: TestAccAWSEIP_Instance_notAssociated (146.57s)
--- PASS: TestAccAWSEIP_Instance_reassociate (122.72s)
--- PASS: TestAccAWSEIP_networkBorderGroup (32.43s)
--- PASS: TestAccAWSEIP_NetworkInterface (85.66s)
--- PASS: TestAccAWSEIP_NetworkInterface_twoEIPsOneInterface (85.66s)
--- PASS: TestAccAWSEIP_PublicIPv4Pool_default (32.33s)
--- PASS: TestAccAWSEIP_Tags_EC2VPC_withoutVPCTrue (45.92s)
--- PASS: TestAccAWSEIP_Tags_EC2VPC_withVPCTrue (45.99s)
--- PASS: TestAccAWSEIPAssociation_basic (164.12s)
--- PASS: TestAccAWSEIPAssociation_disappears (100.33s)
--- PASS: TestAccAWSEIPAssociation_instance (126.54s)
--- PASS: TestAccAWSEIPAssociation_networkInterface (80.73s)
--- PASS: TestAccAWSEIPAssociation_spotInstance (92.08s)
--- SKIP: TestAccAWSEIP_BYOIPAddress_custom (0.00s)
--- SKIP: TestAccAWSEIP_BYOIPAddress_custom_with_PublicIpv4Pool (0.00s)
--- SKIP: TestAccAWSEIP_carrierIP (1.66s)
--- SKIP: TestAccAWSEIP_CustomerOwnedIPv4Pool (2.05s)
--- SKIP: TestAccAWSEIP_Instance_ec2Classic (2.73s)
--- SKIP: TestAccAWSEIP_PublicIPv4Pool_custom (0.00s)
--- SKIP: TestAccAWSEIP_Tags_EC2Classic_withoutVPCTrue (2.71s)
--- SKIP: TestAccAWSEIP_Tags_EC2Classic_withVPCTrue (2.73s)
--- SKIP: TestAccAWSEIPAssociation_ec2Classic (0.00s)
Output of acceptance tests (us-west-2
):
--- PASS: TestAccAWSEIP_basic (33.09s)
--- PASS: TestAccAWSEIP_BYOIPAddress_default (32.61s)
--- PASS: TestAccAWSEIP_carrierIP (33.82s)
--- PASS: TestAccAWSEIP_disappears (26.80s)
--- PASS: TestAccAWSEIP_Instance (131.53s)
--- PASS: TestAccAWSEIP_Instance_associatedUserPrivateIP (240.46s)
--- PASS: TestAccAWSEIP_Instance_ec2Classic (238.25s)
--- PASS: TestAccAWSEIP_Instance_notAssociated (168.78s)
--- PASS: TestAccAWSEIP_Instance_reassociate (141.37s)
--- PASS: TestAccAWSEIP_networkBorderGroup (17.84s)
--- PASS: TestAccAWSEIP_NetworkInterface (84.06s)
--- PASS: TestAccAWSEIP_NetworkInterface_twoEIPsOneInterface (84.78s)
--- PASS: TestAccAWSEIP_PublicIPv4Pool_default (30.83s)
--- PASS: TestAccAWSEIP_Tags_EC2Classic_withoutVPCTrue (13.65s)
--- PASS: TestAccAWSEIP_Tags_EC2Classic_withVPCTrue (42.84s)
--- PASS: TestAccAWSEIP_Tags_EC2VPC_withoutVPCTrue (45.06s)
--- PASS: TestAccAWSEIP_Tags_EC2VPC_withVPCTrue (45.09s)
--- PASS: TestAccAWSEIPAssociation_basic (230.01s)
--- PASS: TestAccAWSEIPAssociation_disappears (115.57s)
--- PASS: TestAccAWSEIPAssociation_ec2Classic (246.68s)
--- PASS: TestAccAWSEIPAssociation_instance (109.89s)
--- PASS: TestAccAWSEIPAssociation_networkInterface (73.05s)
--- PASS: TestAccAWSEIPAssociation_spotInstance (117.94s)
--- SKIP: TestAccAWSEIP_BYOIPAddress_custom (0.00s)
--- SKIP: TestAccAWSEIP_BYOIPAddress_custom_with_PublicIpv4Pool (0.00s)
--- SKIP: TestAccAWSEIP_CustomerOwnedIPv4Pool (1.45s)
--- SKIP: TestAccAWSEIP_PublicIPv4Pool_custom (0.00s)
Output of acceptance tests (us-east-1
):
--- PASS: TestAccAWSEIP_basic (8.96s)
--- PASS: TestAccAWSEIP_BYOIPAddress_default (12.36s)
--- PASS: TestAccAWSEIP_carrierIP (10.35s)
--- PASS: TestAccAWSEIP_disappears (6.82s)
--- PASS: TestAccAWSEIP_Instance (352.90s)
--- PASS: TestAccAWSEIP_Instance_associatedUserPrivateIP (196.47s)
--- PASS: TestAccAWSEIP_Instance_ec2Classic (218.39s)
--- PASS: TestAccAWSEIP_Instance_notAssociated (107.95s)
--- PASS: TestAccAWSEIP_Instance_reassociate (115.58s)
--- PASS: TestAccAWSEIP_networkBorderGroup (9.04s)
--- PASS: TestAccAWSEIP_NetworkInterface (57.57s)
--- PASS: TestAccAWSEIP_NetworkInterface_twoEIPsOneInterface (58.20s)
--- PASS: TestAccAWSEIP_PublicIPv4Pool_default (9.92s)
--- PASS: TestAccAWSEIP_Tags_EC2Classic_withoutVPCTrue (2.92s)
--- PASS: TestAccAWSEIP_Tags_EC2Classic_withVPCTrue (16.32s)
--- PASS: TestAccAWSEIPAssociation_disappears (208.39s)
--- PASS: TestAccAWSEIPAssociation_ec2Classic (218.31s)
--- PASS: TestAccAWSEIPAssociation_instance (302.58s)
--- PASS: TestAccAWSEIPAssociation_networkInterface (55.67s)
--- PASS: TestAccAWSEIPAssociation_spotInstance (301.23s)
--- SKIP: TestAccAWSEIP_BYOIPAddress_custom (0.00s)
--- SKIP: TestAccAWSEIP_BYOIPAddress_custom_with_PublicIpv4Pool (0.00s)
--- SKIP: TestAccAWSEIP_CustomerOwnedIPv4Pool (0.32s)
--- SKIP: TestAccAWSEIP_PublicIPv4Pool_custom (0.00s)
--- SKIP: TestAccAWSEIP_Tags_EC2VPC_withoutVPCTrue (0.00s)
--- SKIP: TestAccAWSEIP_Tags_EC2VPC_withVPCTrue (0.00s)
--- SKIP: TestAccAWSEIPAssociation_basic (0.00s)
This has been released in version 3.38.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Community Note
Fixes #8004
Release note for CHANGELOG:
Output from acceptance testing: