copilot-cli
copilot-cli copied to clipboard
[Feature Request] NLB Preserve client IP addresses
Describe your idea/feature/enhancement
Add a parameter in the nlb listener to control the setting Preserve client IP addresses in the NLB
Proposal
nlb.preserve_client_ip Boolean
Indicates whether to Preserve client IP addresses
nlb:
preserve_client_ip: on
Additional Details
This setting is handy to whitelist public IP addresses using security groups
Definitely needed
Hey @libert-xyz, thanks for the feature request! As a workaround for now, you should be able to use YAML Patch overrides to add the preserve_client_ip.enabled attribute to the generated target group resource.