Hello everyone, I would like to assess the potenti...
# help
e
Hello everyone, I would like to assess the potential maximum cost of my infrastructure on aws per month. What's the best way to simulate that high-usage configuration? I have .tf resources, but would like to assess the potential high-end cost. Is there some kind of a way to generate a usage file from the existing terraform resources with their "maximum" usage capacity? Thanks a lot
w
Hey @echoing-fireman-45416, you can use this example file but note there’s no theratical max for infra, e.g. you can ask AWS to keep bumping-up your acc limits and you can spend as much as you like 😄 so it depends on what you think is your max usage, which you can configure in that file
e
Hi Ali, I see your point, thank you for the example!
I noticed that when I mistakenly type a resource name, there's no validation error, it just fails silently. Is there a way to force that validation? like adding --strict for example to the command line:
Copy code
infracost breakdown --path . --terraform-var-file ./environments/dev.tfvars --format table --usage-file usage.yml --strict
It looks like it's not supported just digged down furter, i opened an issue for it: https://github.com/infracost/infracost/issues/3430
👍 1