broad-zoo-34077
09/15/2023, 6:30 PMmysterious-teacher-68276
09/15/2023, 6:32 PMenough-scooter-95197
09/15/2023, 6:33 PMmysterious-teacher-68276
09/15/2023, 6:34 PMenough-scooter-95197
09/15/2023, 7:02 PMattributeFilter
are similar to the Terraform properties (and therefore also the Pulumi properties) it would be straightforward to just send all of the key value pairs to the API, but if I have to mung them a bit that’s possible too@mysterious-teacher-68276
09/18/2023, 9:07 AMearly-queen-42970
enough-scooter-95197
09/18/2023, 2:06 PMmysterious-teacher-68276
09/18/2023, 2:21 PMIf the properties on theThe properties sent to the pricing API are in large part not at all similar to the terraform properties. So this approach might not work at all. The translation layer from HCL to pricing lookup filters is normally incredibly involved and is not a simple 1-1 mapping. A good doc to understand how our resource mapping works is to read the “adding new resource guide” https://github.com/infracost/infracost/blob/master/contributing/add_new_resource_guide.mdare similar to the Terraform properties (and therefore also the Pulumi properties) it would be straightforward to just send all of the key value pairs to the API, but if I have to mung them a bit that’s possible tooattributeFilter
enough-scooter-95197
09/18/2023, 2:25 PM