-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
fix ec2 scraper attribute drop without describeTags #30672
Conversation
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
I’ll add tests. |
0a35cc3
to
6728a41
Compare
This PR was marked stale due to lack of activity. It will be closed in 14 days. |
Can we remove the stale label please @Aneurysm9 @dashpole |
Hey @evan-bradley, are we able to get this merged |
@akats7 Sorry for the delay. It looks like we are having some Go module issues right now, once those are resolved I'll update the branch and merge or ping you if I need you to update anything. |
Description:
Minor fix to update ec2 scraper to apply successfully extracted ec2 attributes (instanceId, cloud region, etc..) even when describeTags return an error (likely due to permissions). Currently if tags are not able to be extracted, Detect returns an err and detectResource does not apply the remaining attributes.
Link to tracking Issue: N/A
Testing:
Added tests to test usage of describeTags in detect, made minor modification to detector signature to make it testable.
Documentation: