Hi team, im trying to reconcile my infracost ecs cost and usage with AWS' cost and usage explorer. Im finding that AWS is reporting almost double infracost. Is it because the actual usage isnt being taken into account? I dont know how / where to add monthly gb and vcpu hours and of usage into my infracost-usage.yml file (am using the
large defaults provided by infracost)
AWS cost and usage metrics used for the month of January:
USE2-Fargate-vCPU-Hours:perCPU costs $x
USE2-Fargate-vCPU-Hours:perCPU usage (5917 hours)
USE2-Fargate-GB-Hours costs are $y
USE2-Fargate-GB-Hours usage are (11,834 hours)
Infracost cost and usage:
Per GB per hour $x / 2
Per vCPU per hour $y / 2
The Infracost output makes no reference to hours usage, so i can only assume its based on a default value (that isnt present in the infracost-usage.yml file). Any help much appreciated.
TIA