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

Error to retrieve AMIs #109

Open
actitud2020 opened this issue Apr 16, 2020 · 0 comments
Open

Error to retrieve AMIs #109

actitud2020 opened this issue Apr 16, 2020 · 0 comments

Comments

@actitud2020
Copy link

Hello, I found this bug. I'm guessing it's because there are too many (?)

Retrieving AMIs to clean ...
Traceback (most recent call last):
File "/home/alex/.local/bin/amicleaner", line 8, in
sys.exit(main())
File "/home/alex/.local/lib/python2.7/site-packages/amicleaner/cli.py", line 195, in main
app.run_cli()
File "/home/alex/.local/lib/python2.7/site-packages/amicleaner/cli.py", line 165, in run_cli
candidates = self.prepare_candidates()
File "/home/alex/.local/lib/python2.7/site-packages/amicleaner/cli.py", line 66, in prepare_candidates
candidates_amis = candidates_amis or self.fetch_candidates()
File "/home/alex/.local/lib/python2.7/site-packages/amicleaner/cli.py", line 53, in fetch_candidates
excluded_amis += f.fetch_zeroed_asg()
File "/home/alex/.local/lib/python2.7/site-packages/amicleaner/fetch.py", line 71, in fetch_zeroed_asg
LaunchConfigurationNames=zeroed_lcs
File "/home/alex/.local/lib/python2.7/site-packages/botocore/client.py", line 316, in _api_call
return self._make_api_call(operation_name, kwargs)
File "/home/alex/.local/lib/python2.7/site-packages/botocore/client.py", line 599, in _make_api_call
api_params, operation_model, context=request_context)
File "/home/alex/.local/lib/python2.7/site-packages/botocore/client.py", line 647, in _convert_to_request_dict
api_params, operation_model)
File "/home/alex/.local/lib/python2.7/site-packages/botocore/validate.py", line 297, in serialize_to_request
raise ParamValidationError(report=report.generate_report())
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid length for parameter LaunchConfigurationNames[11], value: 0, valid range: 1-inf
Invalid length for parameter LaunchConfigurationNames[12], value: 0, valid range: 1-inf
Invalid length for parameter LaunchConfigurationNames[13], value: 0, valid range: 1-inf

Thanks,
Alex.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant