Open tobischw opened 4 years ago
Currently, we receive over 7,000+ instances when hitting up the API. Many of those are irrelevant to what we want to do, and have invalid pricing, memory, or VCPU data. We should filter these out when performing the request in the index.js.
See https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/aws-jsdk-reference.html for a reference. For example, you can pass filters in for certain attributes (CLI, but same idea: https://docs.aws.amazon.com/cli/latest/reference/pricing/get-products.html)
SP: 2
Currently, we receive over 7,000+ instances when hitting up the API. Many of those are irrelevant to what we want to do, and have invalid pricing, memory, or VCPU data. We should filter these out when performing the request in the index.js.
See https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/aws-jsdk-reference.html for a reference. For example, you can pass filters in for certain attributes (CLI, but same idea: https://docs.aws.amazon.com/cli/latest/reference/pricing/get-products.html)