-
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
aws_lb_target_group: always support ip_address_type #36423
Conversation
ip_address_type is supported for both type instance and type IP Fixes hashicorp#35010
Community NoteVoting for Prioritization
For Submitters
|
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.
Welcome @arianvp 👋
It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTOR guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.
Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.
Thanks again, and welcome to the community! 😃
@justinretzolk Is there any chance that the proposed PR will be merged soon? |
Any update on this? I really would like this to be in. Anything I can do to make this easier to merge or review? Thanks |
# Conflicts: # internal/service/elbv2/target_group.go
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.
LGTM 🚀.
% make testacc TESTARGS='-run=TestAccELBV2TargetGroup_ipAddressType\|TestAccELBV2TargetGroup_basic' PKG=elbv2 ACCTEST_PARALLELISM=3
make: Verifying source code with gofmt...
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go1.22.5 test ./internal/service/elbv2/... -v -count 1 -parallel 3 -run=TestAccELBV2TargetGroup_ipAddressType\|TestAccELBV2TargetGroup_basic -timeout 360m
=== RUN TestAccELBV2TargetGroup_basic
=== PAUSE TestAccELBV2TargetGroup_basic
=== RUN TestAccELBV2TargetGroup_ipAddressType
=== PAUSE TestAccELBV2TargetGroup_ipAddressType
=== CONT TestAccELBV2TargetGroup_basic
=== CONT TestAccELBV2TargetGroup_ipAddressType
--- PASS: TestAccELBV2TargetGroup_basic (18.07s)
--- PASS: TestAccELBV2TargetGroup_ipAddressType (18.07s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/elbv2 22.842s
@arianvp Thanks for the contribution 🎉 👏. |
This functionality has been released in v5.59.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. Thank you! |
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. |
Description
ip_address_type is supported for both type instance and type IP
Relations
Closes #35010
References
https://docs.aws.amazon.com/elasticloadbalancing/latest/APIReference/API_CreateTargetGroup.html doesnt mention this only works for IP addresses. It also works for instances. I tested this in the EC2 Console where I Was able to create one with ipv6 support.
Output from Acceptance Testing