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

elb_target_group to support slow start attribute

Open yravid opened this issue 3 years ago • 4 comments

SUMMARY

Have the option to configure slow start duration attribute

ISSUE TYPE
  • Feature Idea
COMPONENT NAME

elb_target_group

ADDITIONAL INFORMATION

see 'slow_start.duration_seconds ' in https://docs.aws.amazon.com/cli/latest/reference/elbv2/modify-target-group-attributes.html

- name: Create a target group with slow start duration attribute
  community.aws.elb_target_group:
    name: mytargetgroup
    protocol: http
    port: 80
    vpc_id: vpc-01234567
    slow_start_duration: 30
    state: present

yravid avatar Nov 25 '20 10:11 yravid

Is this attribute supported by all loadbalancers? ALB, Classic, Network...?
I Cannot find any informations.
If yes - it might be easy to implement.

markuman avatar Dec 05 '20 11:12 markuman

Only for ALB, from the doc: The following attributes are supported only if the load balancer is an Application Load Balancer and the target is an instance or an IP address

yravid avatar Dec 06 '20 15:12 yravid

The big problem imho is, that we don't know if a target group is actually attached to an ALB, Classic LB or Network LB.
Similar to: https://github.com/ansible-collections/community.aws/pull/282
I need to make some tests...

markuman avatar Dec 06 '20 16:12 markuman

cc @jillr @s-hertel @tremble @wimnat click here for bot help

ansibullbot avatar Jan 13 '21 00:01 ansibullbot