https://infracost.io logo
#help
Title
# help
w

wooden-smartphone-11475

07/13/2023, 4:37 PM
Hi folks! Love the product a lot! Is there a list of supported AWS regions? When I am trying to get info for some regions (ap-northeast-2, sa-east-1, ap-northeast-1) I am getting an empty response for:
Copy code
curl <https://pricing.api.infracost.io/graphql> \
  -X POST \
  -H 'X-Api-Key: <my-key>' \
  -H 'Content-Type: application/json' \
  --data '
  {"query": "{ products(filter: {vendorName: \"aws\", service: \"AmazonEC2\", region: \"ap-northeast-1\", attributeFilters: [{key: \"instanceType\", value: \"x2gd.4xlarge\"}, {key: \"operatingSystem\", value: \"Linux\"}, {key: \"tenancy\", value: \"Shared\"}, {key: \"capacitystatus\", value: \"Used\"}, {key: \"preInstalledSw\", value: \"NA\"}]}) { prices(filter: {purchaseOption: \"on_demand\"}) { USD } } } "}
  '
Copy code
{
  "data": {
    "products": []
  }
}
Thanks a lot!!
l

little-author-61621

07/13/2023, 4:40 PM
Hi @wooden-smartphone-11475! We support all regions. Is this instance type available in those regions?
w

wooden-smartphone-11475

07/13/2023, 4:40 PM
I believe that yes
i will try to verify
l

little-author-61621

07/13/2023, 4:43 PM
Thanks - I can’t see the price for it in ap-northeast-2 here: https://aws.amazon.com/ec2/pricing/on-demand/
w

wooden-smartphone-11475

07/13/2023, 4:44 PM
i'll check, maybe I have an issue on my end..
Confirming I had a region selection bug on my end. Thanks a lot for the swift reply!
l

little-author-61621

07/13/2023, 4:55 PM
No problem!