Alistair Scott

Results 112 comments of Alistair Scott

The current behavior for Infracost when we can't determine the count is to default to count=1. This is the case if the count is derived from a data resource, which...

Closing this since I've been unable to reproduce the original issue and a suitable workaround has been found for the other issue.

Thanks @jwsz-capco 🙏! Let us know when this is ready for review.

@jwsz-capco [here's the link](https://cla-assistant.io/infracost/infracost?pullRequest=1569), thanks!

@jwsz-capco any update on this? No worries if you don't think you'll get a chance,

Thanks @sinabakh! How does this handle multiple matches? I'm thinking we should match in this priority order. What do you think? 1. `module.my_module[0].aws_instance.my_instance[1]` 2. `module.my_module[0].aws_instance.my_instance[*]` 3. `module.my_module[*].aws_instance.my_instance[1]` 4. `module.my_module[*].aws_instance.my_instance[*]`

Thanks @sinabakh! I'll give this a shot with the sync usage stuff. > So 3 is before 2. However, is it valid for a yaml file to contain 2 and...

@sinabakh @alikhajeh1 now that we support [resource defaults in the usage file](https://www.infracost.io/docs/features/usage_based_resources/#usage-profiles), do you think we still need this functionality?

> Alternative locations/filenames could be specified with the --path flag I wonder if it's confusing overloading the `--path` flag in this way. I think I see the path and the...

Sorry for the delay on this @PatMyron. I want to give this a bit more of a test, so will look at getting this merged after our next release.