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

[DOM-51856] - costs update lifecycle #164

Merged
merged 20 commits into from
Nov 14, 2023
Merged

[DOM-51856] - costs update lifecycle #164

merged 20 commits into from
Nov 14, 2023

Conversation

ddl-olsonJD
Copy link
Contributor

@ddl-olsonJD ddl-olsonJD commented Nov 4, 2023

Customers who are not interested in extensive kubecost but using long-term storage will have a lot of cost data to the costs bucket anyway, while only the last 15 days of data will be actionable!

Add default lifecycle to limit long-term storage to 15 days.

Jira

https://dominodatalab.atlassian.net/browse/DOM-51856

@ddl-olsonJD ddl-olsonJD changed the title Jd cost s3 [DOM-51856] - costs update lifecycle Nov 7, 2023
@ddl-olsonJD ddl-olsonJD marked this pull request as ready for review November 7, 2023 15:38
@ddl-olsonJD ddl-olsonJD requested a review from a team as a code owner November 7, 2023 15:38
@ddl-olsonJD
Copy link
Contributor Author

ddl-olsonJD commented Nov 14, 2023

Validated with eks with long term storage jdbudget28539 and dev-v2 no long term storage jdbudget27853

@@ -67,7 +67,7 @@ variable "storage" {
force_destroy_on_deletion = optional(bool)
}))
enable_remote_backup = optional(bool)
costs_enabled = optional(bool, true)
costs_enabled = optional(bool)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why are we removing the default?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

moved the default to a higher level modules/infra/variables.tf

@ddl-olsonJD ddl-olsonJD merged commit 3e541e3 into main Nov 14, 2023
11 checks passed
@ddl-olsonJD ddl-olsonJD deleted the jd-cost-s3 branch November 14, 2023 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants