Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated the table aws_ec2_instance_type for populating the column value per region and filter results by instance_type Closes #2195 #2200

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

ParthaI
Copy link
Contributor

@ParthaI ParthaI commented May 27, 2024

Integration test logs

Logs
N/A

Example query results

Results
> select count(*) from aws_ec2_instance_type
+-------+
| count |
+-------+
| 11139 |
+-------+

> 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   |
+-------+

> select instance_type, region from aws_gov.aws_ec2_instance_type
+-------------------+---------------+
| instance_type     | region        |
+-------------------+---------------+
| r6g.large         | us-gov-west-1 |
| r5dn.xlarge       | us-gov-west-1 |
| c6gd.4xlarge      | us-gov-west-1 |
| r6in.2xlarge      | us-gov-west-1 |
| r6idn.16xlarge    | us-gov-west-1 |
| r7i.2xlarge       | us-gov-west-1 |
| r6g.8xlarge       | us-gov-west-1 |
| f1.2xlarge        | us-gov-west-1 |
| m1.small          | us-gov-west-1 |
| c6gn.8xlarge      | us-gov-west-1 |

…ue per region and filter results by instance_type Closes #2195
@misraved misraved merged commit 2699423 into main Jun 3, 2024
1 check passed
@misraved misraved deleted the issue-2195 branch June 3, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Why doesn't aws_ec2_instance_type table support the account_id (and region) column?
2 participants