Hi folks! Love the product a lot! Is there a list ...
# help
w
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
Hi @wooden-smartphone-11475! We support all regions. Is this instance type available in those regions?
w
I believe that yes
i will try to verify
l
Thanks - I can’t see the price for it in ap-northeast-2 here: https://aws.amazon.com/ec2/pricing/on-demand/
w
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
No problem!