Title
#general
Hugo (Infracost)

Hugo (Infracost)

09/29/2022, 8:43 AM
Hey everyone, Infracost 0.10.12 has been released! 🥳 This release brings additional features that help simplify and debug users’ workflows. Some highlights include: • New environment variables to configure Infracost output currency and format. 💵 💷The below example show the output of the number
64145.4525
with different formatting options:
| Environment variables                                                        | Output for 64145.4525 |
  |------------------------------------------------------------------------------|-----------------------|
  | INFRACOST_CURRENCY=USD<BR/>INFRACOST_CURRENCY_FORMAT="USD: 1.234,567890 $"   | `64.145,452500 $`     |
  | INFRACOST_CURRENCY=EUR<BR/>INFRACOST_CURRENCY_FORMAT="EUR: 1.234,56€"        | `64.145,45€`          |
  | INFRACOST_CURRENCY=GBP<BR/>INFRACOST_CURRENCY_FORMAT="GBP: £ 1,234.567"      | `£ 64,145.453`        |
• The Infracost usage file now allows users to provide defaults for resource types. ⚙️ 🚀 You can now do things similar to:
aws_dynamodb_table:
    storage_gb: 1000 # Set in all DynamoDB table resources
  aws_dynamodb_table.my_table:
    monthly_write_request_units: 200 # Merged with default that defines storage_gb
  aws_dynamodb_table.my_other_table:
    storage_gb: 50 # Overrides the default
• Support for HCL configuration warnings in output metadata. ⚠️ This means that your Infracost Cloud runs will now contain useful information about missing configuration that could be affecting your cost estimates. 🐛 Check out the full release here