Boavizta / cloud-scanner

📡 Get Boavizta impact data for your aws cloud account usage.
GNU Affero General Public License v3.0
32 stars 7 forks source link

The iso country code of cloud resource defaults to FRA when the country is not identified #446

Closed demeringo closed 7 months ago

demeringo commented 7 months ago

Bug description

When infering country from an AWS region, cloud scanner falls back to FR when the region is not identified.

To Reproduce

https://github.com/Boavizta/cloud-scanner/blob/2ebc3d9abff98ac79dbbef180538ec47f40d4b3a/cloud-scanner-cli/src/usage_location.rs#L39

Expected behavior

Raise a clear error instead. *

JSON OUTPUT

Additional context