-
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
Missing preserve_client_ip
attribute in aws_lb_target_group
resource
#17550
Comments
@ewbankkit @anGie44 Is anyone working on this issue? Otherwise, I could work on it. I am new to Go, so I would also appreciate it if you could share a PR that I can use for reference. Thank you. |
@ewbankkit @anGie44 I did some research to review the required changes. Also, I pulled a PR that I could use for reference. Currently, I have sufficient information to start making the changes. Hence, I would request you to assign the ticket to me. |
@ewbankkit @anGie44 I have raised a draft PR (linked above). Could you please check and suggest if this is the right direction to go? |
@amitdaga let me know if I can support with anything, we are also waiting for this to come. |
@kschu91 I am mostly done with the changes. One question that I have is whether this provider should validate that this new field value cannot be false for UDP and TCP_UDP protocol. |
I personally think that it would make sense. I mean the AWS API would break anyways, but failing early in the plan phase would be better. |
@ewbankkit @anGie44 The linked PR is ready for review. Can you please review and share your inputs? |
@kschu91 Right that adding validation does help during the plan phase. I tried adding it earlier, but it seemed to add a bit of complexity. The validation logic also did not seem to work since I added it in the |
@ewbankkit @anGie44 @YakDriver Can you please review and share your inputs on the PR? Thank you. |
This has been released in version 3.35.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 issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Community Note
Description
AWS documentation states that target group has an attribute
preserve_client_ip
which is missing from the terraform'saws_lb_target_group
definition.New or Affected Resource(s)
Potential Terraform Configuration
References
preserve_client_ip.enabled
attributeThe text was updated successfully, but these errors were encountered: