Hello all. I'm still trying to understand the `inf...
# help
a
Hello all. I'm still trying to understand the
infracost/infracost
source code, as I am building a custom interface to the
Cloud Pricing API Server
(we do not use
terraform
). I am looking at
internal/providers/terraform/azure/application_gateway.go
, and see the following: • Data processing cost component • Capacity units cost component • Gateway cost component • Fixed for V2 cost component For a custom interface to the pricing API, is the GraphQL query a composite of the 4 price components? E.g. the 4 need to get calculated then added up?
w
that sounds about right, but it’s not always that simple as each resource has different rules based on its pricing. I think what you need is https://github.com/infracost/infracost/issues/1525 so I’d encourage you to subscribe to that for updates. Currently we’re focused on going deeper into use-cases with terraform, at some point we’ll go broad to support non terraform users too but I don’t have a timeline for that yet.