Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds the ability to set AWS SavingsPlanNegation along side SavingsPlanCoveredUsage lineitems
This is added to two generators;
EC2Generator and DataTransferGenerator
Negation examples:
DataTransferGenerator:
start_date: last_month
product_sku: AERJHRNCCCCC
product_code: AmazonDynamoDB
product_name: Amazon DynamoDB
amount: 5
rate: 10
negation: True
EC2Generator:
start_date: last_month
processor_arch: 64-bit
product_sku: VEAJHRNKTJZB
region: us-east-1b
instance_type:
inst_type: m5.large
vcpu: "2"
physical_cores: 1.0
memory: '8 GiB'
storage: 'EBS Only'
family: 'General Purpose'
cost: 10
rate: 0.500
negation: True