copilot-cli icon indicating copy to clipboard operation
copilot-cli copied to clipboard

[Feature Request] NLB Preserve client IP addresses

Open libert-xyz opened this issue 1 year ago • 2 comments

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

libert-xyz avatar Apr 23 '24 21:04 libert-xyz

Definitely needed

chrisschaub avatar Apr 23 '24 21:04 chrisschaub

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.

dannyrandall avatar Apr 26 '24 20:04 dannyrandall