Skip to content

Commit

Permalink
Add savingsPlan/SavingsPlanRate to datatransfer generator
Browse files Browse the repository at this point in the history
  • Loading branch information
esebesto committed Aug 16, 2024
1 parent bd7b67a commit 9fb0e45
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions nise/generators/aws/data_transfer_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ def _update_data(self, row, start, end, **kwargs):
row["pricing/term"] = "OnDemand"
row["pricing/unit"] = "GB"
row["savingsPlan/SavingsPlanEffectiveCost"] = str(saving)
row["savingsPlan/SavingsPlanRate"] = str(saving)

# Overwrite lineItem/LineItemType for items with applied Savings plan
if saving is not None:
Expand Down

0 comments on commit 9fb0e45

Please sign in to comment.