broad-zoo-34077
03/13/2023, 5:03 PMlittle-author-61621
query {
compute: products(filter: {
vendorName: "aws",
service: "AmazonEC2"
region: "us-east-1"
productFamily: "Compute Instance"
attributeFilters: [
{key: "instanceType", value: "t2.micro"}
{key: "tenancy", value: "Shared"}
{key: "operatingSystem", value: "Linux"}
{key: "preInstalledSw", value: "NA"}
{key: "licenseModel", value: "No License required"}
{key: "capacitystatus", value: "Used"}
]
}) {
attributes {
key, value
}
prices(filter: {
purchaseOption: "on_demand"
}) {
USD
}
}
}
There’s also some docs here with an example request.able-pencil-95187
03/13/2023, 5:18 PMlook through the code for each resource and look at the values we pass@little-author-61621 can you link the directory for the resources? I might be able to extrapolate a lot
able-pencil-95187
03/13/2023, 5:19 PMlittle-author-61621