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

feat(pattern): Kubecost with AWS CUR Report #1862

Merged
merged 20 commits into from
Jan 26, 2024
Merged

Conversation

candonov
Copy link
Contributor

@candonov candonov commented Jan 20, 2024

Description

Motivation and Context

How was this change tested?

  • Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes)
  • Yes, I have updated the docs for this feature
  • Yes, I ran pre-commit run -a with this PR

Additional Notes

@candonov candonov requested a review from a team as a code owner January 20, 2024 01:20
@candonov candonov changed the title Feat(pattern): Kubecost with AWS CUR Report feat(pattern): Kubecost with AWS CUR Report Jan 20, 2024
Copy link
Contributor

@rodrigobersa rodrigobersa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Few minor comments!

patterns/kubecost/README.md Outdated Show resolved Hide resolved
patterns/kubecost/README.md Outdated Show resolved Hide resolved
patterns/kubecost/README.md Outdated Show resolved Hide resolved
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we break down this file in 3-4 files to avoid having a ~400 lines file? We can use the same approach we have here.
main.tf (providers, locals)
eks.tf (EKS cluster, cluster VPC, addons)
kubecost.tf (Kubecost related resources)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Most of the patterns have everything in main.tf. My preference is to keep everything in main.tf, even though it is long, the sections are clearly identified.

patterns/kubecost/main.tf Outdated Show resolved Hide resolved
patterns/kubecost/main.tf Outdated Show resolved Hide resolved
candonov and others added 8 commits January 26, 2024 08:18
Co-authored-by: Rodrigo Bersa <rodrigo.bersa@gmail.com>
Co-authored-by: Rodrigo Bersa <rodrigo.bersa@gmail.com>
Co-authored-by: Rodrigo Bersa <rodrigo.bersa@gmail.com>
Co-authored-by: Rodrigo Bersa <rodrigo.bersa@gmail.com>
Co-authored-by: Rodrigo Bersa <rodrigo.bersa@gmail.com>
Copy link
Contributor

@rodrigobersa rodrigobersa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@rodrigobersa rodrigobersa merged commit 5296f9a into aws-ia:main Jan 26, 2024
37 checks passed
@candonov candonov deleted the kubecost branch January 26, 2024 21:33
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

Successfully merging this pull request may close these issues.

[BLUEPRINT] Cost optimization / FinHack pattern
2 participants