You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's hard to query instance types as a single list because this table does not allow you to filter to a single account. As a result you get many duplicates.
Also - do instance types vary by region? If so, should this table be querying by region?
The text was updated successfully, but these errors were encountered:
@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.
It's hard to query instance types as a single list because this table does not allow you to filter to a single account. As a result you get many duplicates.
Also - do instance types vary by region? If so, should this table be querying by region?
The text was updated successfully, but these errors were encountered: