diff --git a/changelogs/fragments/1113-up-pagainated-retries-alb-info.yml b/changelogs/fragments/1113-up-pagainated-retries-alb-info.yml new file mode 100644 index 00000000000..d564069409e --- /dev/null +++ b/changelogs/fragments/1113-up-pagainated-retries-alb-info.yml @@ -0,0 +1,3 @@ +bugfixes: + - elb_application_lb_info - Up default value AWS backoff retries for paginated calls. (https://github.com/ansible-collections/community.aws/pull/1113). + - elb_target_group_info - Up default value AWS backoff retries for paginated calls. (https://github.com/ansible-collections/community.aws/pull/1113). diff --git a/plugins/modules/elb_application_lb_info.py b/plugins/modules/elb_application_lb_info.py index dbd4b7e0ab6..9a6e817469f 100644 --- a/plugins/modules/elb_application_lb_info.py +++ b/plugins/modules/elb_application_lb_info.py @@ -223,7 +223,7 @@ from ansible_collections.amazon.aws.plugins.module_utils.ec2 import AWSRetry, boto3_tag_list_to_ansible_dict -@AWSRetry.jittered_backoff() +@AWSRetry.jittered_backoff(retries=10) def get_paginator(connection, **kwargs): paginator = connection.get_paginator('describe_load_balancers') return paginator.paginate(**kwargs).build_full_result() diff --git a/plugins/modules/elb_target_group_info.py b/plugins/modules/elb_target_group_info.py index c17b61ab669..88d3491077b 100644 --- a/plugins/modules/elb_target_group_info.py +++ b/plugins/modules/elb_target_group_info.py @@ -217,7 +217,7 @@ from ansible_collections.amazon.aws.plugins.module_utils.ec2 import AWSRetry, boto3_tag_list_to_ansible_dict -@AWSRetry.jittered_backoff() +@AWSRetry.jittered_backoff(retries=10) def get_paginator(**kwargs): paginator = client.get_paginator('describe_target_groups') return paginator.paginate(**kwargs).build_full_result()