Coder Social home page Coder Social logo

Comments (2)

graza-io avatar graza-io commented on September 15, 2024

In addition to the above, would be also useful to be able to filter by instance family m5a, m5, t3, etc - This would drastically increase performance.

from steampipe-plugin-aws.

ParthaI avatar ParthaI commented on September 15, 2024

@e-gineer / @graza-io, I've submitted a PR to address this issue. Here are the changes implemented:

  • We can now obtain results for each region.
  • It's possible to filter by instance type as demonstrated (select instance_type, region from aws_ec2_instance_type where instance_type = 'r6g.large').
  • The API does not support filtering by instance family. While specific instances like m6g.metal can be filtered, broader family filters like m6g are not supported. Reference: AWS API Documentation

Also - do instance types vary by region? If so, should this table be querying by region?

Yes, it varies from region to region.

> select count(*) from aws_ec2_instance_type where region = 'us-east-1'
+-------+
| count |
+-------+
| 776   |
+-------+

> select count(*) from aws_ec2_instance_type where region = 'ap-south-1'
+-------+
| count |
+-------+
| 518   |
+-------+

Please let me know if I have missed any other implementations.

Thank you!

from steampipe-plugin-aws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.