Nupur Dave

10/28/2022, 8:26 PM
Hi everyone! I am having trouble when running infracost on my aws dynamodb table. When I modify the write and read usage estimates, the WCU and RCU numbers don't change when I run "infracost breakdown". Could someone help me with this? Here is the github link: https://github.com/Barnard-PL-Labs/IaCAnalysis/blob/60c10429a94330bfe7fe01b539efc891c267890f/infracost-usage.yml And here is the output I am seeing when I run infracost breakdown --path db-lambda-ex --usage-file infracost-usage.yml:
Ali (Infracost)

Ali (Infracost)

10/28/2022, 8:38 PM
@Nupur Dave the usage-file doesn’t support params for the WCU and RCU, those are defined in the terraform code, not the usage-file. The logic for that resource lives in this file incase you’d like to dig in more.