community.aws icon indicating copy to clipboard operation
community.aws copied to clipboard

Add possibility to create AWS Network Load Balancer with attached Security Group

Open tzmijowski opened this issue 5 months ago • 0 comments

Summary

Since August 2023 it's possible to create NLB with SG. (https://aws.amazon.com/about-aws/whats-new/2023/08/network-load-balancer-supports-security-groups/) Unfortunately, the current module implementation doesn't offer this feature. Moreover, once NLB is created without SG, it's not possible to attach SG(s) later in time by modifying LB.

Important considerations (https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-security-groups.html#security-group-considerations)

  • You can associate security groups with a Network Load Balancer when you create it. If you create a Network Load Balancer without associating any security groups, you can't associate them with the load balancer later on. We recommend that you associate a security group with your load balancer when you create it.
  • After you create a Network Load Balancer with associated security groups, you can change the security groups associated with the load balancer at any time.

Issue Type

Feature Idea

Component Name

elb_network_lb module

Additional Information


Code of Conduct

  • [X] I agree to follow the Ansible Code of Conduct

tzmijowski avatar Jan 22 '24 20:01 tzmijowski