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

AWS COGS data pull handler #115

Open
wants to merge 20 commits into
base: main
Choose a base branch
from
Open

AWS COGS data pull handler #115

wants to merge 20 commits into from

Conversation

sudo-buddy
Copy link

Please ensure your pull request adheres to the following guidelines:

Related Issues

Thanks for contributing!

Copy link

This PR will trigger no release when merged.

Copy link
Member

@ekremney ekremney left a 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) => {
Copy link
Member

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?

Copy link
Author

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.

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

Successfully merging this pull request may close these issues.

3 participants