Skip to content
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

elb_target_group support for application-based sticky session cookies #513

Open
heytrav opened this issue Mar 29, 2021 · 3 comments
Open
Labels
feature This issue/PR relates to a feature request module module plugins plugin (any type) waiting_on_contributor Needs help. Feel free to engage to get things unblocked

Comments

@heytrav
Copy link
Contributor

heytrav commented Mar 29, 2021

SUMMARY

AWS Application load balancers now appear to support application-based cookies in addition to the standard load balancer generated cookie.

https://docs.aws.amazon.com/elasticloadbalancing/latest/application/sticky-sessions.html

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

elb_target_group

ADDITIONAL INFORMATION

The application based cookie has a duration attribute just as the load balancer generated cookie does. It is also required to assign a name to the cookie that is specific to the target group.

- name: Modify the target group with a custom health check
  community.aws.elb_target_group:
    name: mytargetgroup
    protocol: http
    port: 80
    vpc_id: vpc-01234567
    health_check_protocol: http
    health_check_path: /health_check
    health_check_port: 80
    successful_response_codes: 200
    health_check_interval: 15
    health_check_timeout: 3
    healthy_threshold_count: 4
    unhealthy_threshold_count: 3
    stickiness_enabled: yes
    stickiness_lb_cookie_duration: 86400
    stickiness_application_cookie_name: my_application_cookie
    state: present
@ansibullbot
Copy link

Files identified in the description:

If these files are inaccurate, please update the component name section of the description or use the !component bot command.

click here for bot help

@ansibullbot
Copy link

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module module needs_triage plugins plugin (any type) labels Mar 29, 2021
@alinabuzachis alinabuzachis added waiting_on_contributor Needs help. Feel free to engage to get things unblocked and removed needs_triage labels Apr 16, 2021
@alinabuzachis
Copy link
Contributor

Hi @heytrav, thank you for this feature idea. Would you be willing to raise a PR? Thanks.

alinabuzachis pushed a commit to alinabuzachis/community.aws that referenced this issue May 25, 2022
Copy ignore-2.12.txt to ignore-2.13.txt

Relates to ansible-collections/overview#45 (comment)

Reviewed-by: Mark Chappell <None>
Reviewed-by: Alina Buzachis <None>
Reviewed-by: None <None>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue/PR relates to a feature request module module plugins plugin (any type) waiting_on_contributor Needs help. Feel free to engage to get things unblocked
Projects
None yet
Development

No branches or pull requests

3 participants