cloud-carbon-footprint
cloud-carbon-footprint copied to clipboard
[SPIKE] Supporting non USD currencies
Context We would like this tool to be applicable and helpful to organizations and individuals across the globe. To do so, it is helpful to support international currencies.
A/Cs
- [ ] Investigate the following questions
- [ ] Perhaps consult a team we know operates in a different currency
- [ ] Document findings in the spikes folder
Questions to investigate
-
[ ] Can we can retrieve billing data in different currencies?
-
- [ ] How can we detect the currency coming back from billing data? Or utilize another API call for metadata?
-
- [ ] Do each of the cloud providers support the same currencies?
-
- [ ] Is billing data constrained to only one currency?
-
- [ ] What support for currencies do we have with the recommendation APIs? Do we have to specify in request or does it default to set currency by account settings?
-
- [ ] Error handling when a currency is unsupported by CCF
-
[ ] How can we design this to be extended to various additional currencies?
-
[ ] How would this impact API (high accuracy) approach - how much additional work if any would be needed to also support it here?
-
[ ] How can we design this with future additional internationalization in mind?
-
[ ] If cloud providers do not do the currency work for us, what options do we have for conversion?
-
[ ] If change currencies, will data need to be backfilled?
I've got some screenshots from a Brazilian AWS account, it seems they keep the USD as the main currency and apply the exchange rate. We need to check if the API result is the same and/or we could do the same (apply the exchange rate) to show cost on our graphics in the local currency.