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

KeyError: 'LaunchConfigurationName' on aws-vpc command #150

Closed
requix opened this issue Aug 28, 2020 · 3 comments · Fixed by #152
Closed

KeyError: 'LaunchConfigurationName' on aws-vpc command #150

requix opened this issue Aug 28, 2020 · 3 comments · Fixed by #152
Assignees
Labels
AWS AWS - Amazon Web Services

Comments

@requix
Copy link

requix commented Aug 28, 2020

Python: 3.8.5 (default, Jul 21 2020, 10:48:26)
[Clang 11.0.3 (clang-1103.0.32.62)]
boto3 version: 1.14.48
Platform: macOS-10.15.6-x86_64-i386-64bit

Traceback (most recent call last):
File "/usr/local/lib/python3.8/site-packages/cloudiscovery/shared/error_handler.py", line 21, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/cloudiscovery/shared/common.py", line 120, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python3.8/site-packages/cloudiscovery/provider/vpc/resource/compute.py", line 298, in get_resources
data["LaunchConfigurationName"]
KeyError: 'LaunchConfigurationName'

@leandrodamascena
Copy link
Member

Hei @requix we will fix this error in next release. I think in 2 or 3 days.

Thank you

@leandrodamascena
Copy link
Member

Hi @requix. Sorry for the late response, I had some busy days at my regular work.

I fixed the problem. You seems like that are using ASG with Launch Templates instead Launch Configuration.

I opened a pull request #152 and we will launch a release this week.

@leandrodamascena leandrodamascena added the AWS AWS - Amazon Web Services label Oct 6, 2020
@leandrodamascena leandrodamascena linked a pull request Oct 6, 2020 that will close this issue
@requix
Copy link
Author

requix commented Oct 7, 2020

Hey @leandrodamascena, yes you are right, we use Launch Template.
Thanks for the fix!

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

Successfully merging a pull request may close this issue.

2 participants