Title
#help
j

James Corteciano

10/13/2022, 9:04 PM
Hey guys, just a quick one. Does the monthly cost automatically use the aws region pricing when I specify to my TF?
9:06 PM
For example, if I use
ap-southeast-2
region, does the monthly cost pricing will use that?
Ali (Infracost)

Ali (Infracost)

10/13/2022, 9:06 PM
Hey James, yep, the region is detected from the TF code. It falls back to us-east-1 if it can’t find the region, running with
--log-level debug
should show region warnings if that happens. There’s an open issue about region overrides too.
j

James Corteciano

10/13/2022, 9:06 PM
Cool thanks @Ali (Infracost)
9:11 PM
Just trying to understand.... how does it work when I set currency into AUD?
9:12 PM
Does it converting from USD to AUD using the current market rate like from xe.com?
Ali (Infracost)

Ali (Infracost)

10/13/2022, 9:13 PM
yep, I can’t remember if we use xe.com or another service, but since cloud vendors usually publish prices in USD, the costs will be converted from USD to your preferred currency using the current exchange rate when the CLI is run. (from our docs here)