-
Notifications
You must be signed in to change notification settings - Fork 2
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
AWS COGS data pull handler #115
base: main
Are you sure you want to change the base?
Conversation
This PR will trigger no release when merged. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Implementation-wise LGTM. Just have one question regarding the functionality
if (Object.keys(usageCost).length === 0) { | ||
return notFound('No Cost Usage found'); | ||
} | ||
Object.keys(usageCost).forEach(async (monthYear) => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sudo-buddy, how does this work when the startDate
& endDate
variables span through multiple months partially? For example, startDate=2024-01-15
and endDate=2024-02-06
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ekremney, the requirement is to get the result by month wise so my assumption was alway get the result for previous whole month.
Please ensure your pull request adheres to the following guidelines:
Related Issues
Thanks for contributing!