community.aws
community.aws copied to clipboard
elb_target_group to support slow start attribute
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
Is this attribute supported by all loadbalancers? ALB, Classic, Network...?
I Cannot find any informations.
If yes - it might be easy to implement.
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
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...
cc @jillr @s-hertel @tremble @wimnat click here for bot help