-
Story
-
Resolution: Done
-
Normal
-
None
-
None
-
None
-
False
-
None
-
False
-
If Release Note Needed, Set a Value
-
Set a Value
Summary
When a customer is using an AWS savings plan for the EC2 instances running OpenShift nodes, we will now default to using the savings plan cost.
Details
- In our OCP on AWS summary SQL, we should switch to a coalesce on savings plan and unblended cost.
- https://github.com/project-koku/koku/blob/main/koku/masu/database/sql/reporting_ocpawscostentrylineitem_daily_summary_back_populate.sql#L147
- Replace ocp_aws.unblended_cost with coalesce(ocp_aws.savingsplan_effective_cost, ocp_aws.unblended_cost)