You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 10, 2024. It is now read-only.
boto/ansible An error occurred (ValidationError) when calling the DescribeTargetGroups operation: You cannot describe more than '20' target groups at a time
#3875
Open
scottdhowell3 opened this issue
Jun 28, 2019
· 2 comments
When running ec2_asg in ansible getting a boto error about not being able to describe the target groups associated with an already created ASG.
Code: An exception occurred during task execution. To see the full traceback, use -vvv. The error was: botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the DescribeTargetGroups operation: You cannot describe more than '20' target groups at a time fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/Users/scotthowell/.ansible/tmp/ansible-tmp-1561739975.61-72753041101081/AnsiballZ_ec2_asg.py\", line 113, in <module>\n _ansiballz_main()\n File \"/Users/scotthowell/.ansible/tmp/ansible-tmp-1561739975.61-72753041101081/AnsiballZ_ec2_asg.py\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/Users/scotthowell/.ansible/tmp/ansible-tmp-1561739975.61-72753041101081/AnsiballZ_ec2_asg.py\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/var/folders/z5/b2lxnmt14zz2_sr5_pm2gbgw0000gn/T/ansible_ec2_asg_payload_VtnKyO/__main__.py\", line 1492, in <module>\n File \"/var/folders/z5/b2lxnmt14zz2_sr5_pm2gbgw0000gn/T/ansible_ec2_asg_payload_VtnKyO/__main__.py\", line 1478, in main\n File \"/var/folders/z5/b2lxnmt14zz2_sr5_pm2gbgw0000gn/T/ansible_ec2_asg_payload_VtnKyO/__main__.py\", line 920, in create_autoscaling_group\n File \"/var/folders/z5/b2lxnmt14zz2_sr5_pm2gbgw0000gn/T/ansible_ec2_asg_payload_VtnKyO/__main__.py\", line 610, in get_properties\n File \"/usr/local/lib/python2.7/site-packages/botocore/paginate.py\", line 449, in build_full_result\n for response in self:\n File \"/usr/local/lib/python2.7/site-packages/botocore/paginate.py\", line 255, in __iter__\n response = self._make_request(current_kwargs)\n File \"/usr/local/lib/python2.7/site-packages/botocore/paginate.py\", line 332, in _make_request\n return self._method(**current_kwargs)\n File \"/usr/local/lib/python2.7/site-packages/botocore/client.py\", line 357, in _api_call\n return self._make_api_call(operation_name, kwargs)\n File \"/usr/local/lib/python2.7/site-packages/botocore/client.py\", line 661, in _make_api_call\n raise error_class(parsed_response, operation_name)\nbotocore.exceptions.ClientError: An error occurred (ValidationError) when calling the DescribeTargetGroups operation: You cannot describe more than '20' target groups at a time\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
The text was updated successfully, but these errors were encountered:
When running ec2_asg in ansible getting a boto error about not being able to describe the target groups associated with an already created ASG.
Code:
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: botocore.exceptions.ClientError: An error occurred (ValidationError) when calling the DescribeTargetGroups operation: You cannot describe more than '20' target groups at a time fatal: [localhost]: FAILED! => {"changed": false, "module_stderr": "Traceback (most recent call last):\n File \"/Users/scotthowell/.ansible/tmp/ansible-tmp-1561739975.61-72753041101081/AnsiballZ_ec2_asg.py\", line 113, in <module>\n _ansiballz_main()\n File \"/Users/scotthowell/.ansible/tmp/ansible-tmp-1561739975.61-72753041101081/AnsiballZ_ec2_asg.py\", line 105, in _ansiballz_main\n invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n File \"/Users/scotthowell/.ansible/tmp/ansible-tmp-1561739975.61-72753041101081/AnsiballZ_ec2_asg.py\", line 48, in invoke_module\n imp.load_module('__main__', mod, module, MOD_DESC)\n File \"/var/folders/z5/b2lxnmt14zz2_sr5_pm2gbgw0000gn/T/ansible_ec2_asg_payload_VtnKyO/__main__.py\", line 1492, in <module>\n File \"/var/folders/z5/b2lxnmt14zz2_sr5_pm2gbgw0000gn/T/ansible_ec2_asg_payload_VtnKyO/__main__.py\", line 1478, in main\n File \"/var/folders/z5/b2lxnmt14zz2_sr5_pm2gbgw0000gn/T/ansible_ec2_asg_payload_VtnKyO/__main__.py\", line 920, in create_autoscaling_group\n File \"/var/folders/z5/b2lxnmt14zz2_sr5_pm2gbgw0000gn/T/ansible_ec2_asg_payload_VtnKyO/__main__.py\", line 610, in get_properties\n File \"/usr/local/lib/python2.7/site-packages/botocore/paginate.py\", line 449, in build_full_result\n for response in self:\n File \"/usr/local/lib/python2.7/site-packages/botocore/paginate.py\", line 255, in __iter__\n response = self._make_request(current_kwargs)\n File \"/usr/local/lib/python2.7/site-packages/botocore/paginate.py\", line 332, in _make_request\n return self._method(**current_kwargs)\n File \"/usr/local/lib/python2.7/site-packages/botocore/client.py\", line 357, in _api_call\n return self._make_api_call(operation_name, kwargs)\n File \"/usr/local/lib/python2.7/site-packages/botocore/client.py\", line 661, in _make_api_call\n raise error_class(parsed_response, operation_name)\nbotocore.exceptions.ClientError: An error occurred (ValidationError) when calling the DescribeTargetGroups operation: You cannot describe more than '20' target groups at a time\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}
The text was updated successfully, but these errors were encountered: