Skip to content

Commit 8c696cd

Browse files
authored
[COST-5044] Revert AWS HCS CCSP Price Change (#5114)
1 parent 7bed556 commit 8c696cd

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

koku/hcs/database/sql/reporting_aws_hcs_daily_summary.sql

+4-9
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,14 @@ SELECT
2323
CASE
2424
WHEN
2525
(
26-
try_cast(product_vcpu AS INT) <= 8
26+
try_cast(product_vcpu AS INT) <= 4
2727
AND (lineitem_lineitemdescription LIKE '%Red Hat%' OR lineitem_lineitemdescription LIKE '%RHEL%')
28-
) THEN 0.0144 * lineitem_usageamount * CAST(product_vcpu AS INT)
28+
) THEN 0.06 * lineitem_usageamount
2929
WHEN
3030
(
31-
try_cast(product_vcpu AS INT) <= 127
31+
try_cast(product_vcpu AS INT) > 4
3232
AND (lineitem_lineitemdescription LIKE '%Red Hat%' OR lineitem_lineitemdescription LIKE '%RHEL%')
33-
) THEN 0.0108 * lineitem_usageamount * CAST(product_vcpu AS INT)
34-
WHEN
35-
(
36-
try_cast(product_vcpu AS INT) > 127
37-
AND (lineitem_lineitemdescription LIKE '%Red Hat%' OR lineitem_lineitemdescription LIKE '%RHEL%')
38-
) THEN 0.0096 * lineitem_usageamount * CAST(product_vcpu AS INT)
33+
) THEN 0.13 * lineitem_usageamount
3934
ELSE lineitem_unblendedcost
4035
END AS lineitem_unblendedcost,
4136
lineitem_blendedrate,

0 commit comments

Comments
 (0)