On the JSON generated by Terracost, some resources like aws_instance are not correctly computed.
The cost result is correct, but there's a miss on quantity and unit attributes:
On this example, the rate, quantity and unit should be calculated in terms of hours, using 730 as quantity instead of considering 1 instance as a quantity. Users are not buying an instance, but an amount of hour of an instance.
On the JSON generated by Terracost, some resources like
aws_instance
are not correctly computed. The cost result is correct, but there's a miss onquantity
andunit
attributes:On this example, the
rate
,quantity
andunit
should be calculated in terms ofhours
, using730
as quantity instead of considering1 instance
as a quantity. Users are not buying an instance, but an amount of hour of an instance.