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

Fixed aws_servicequotas_service_quota queries fail when querying multiple regions with the same service_code Closes #2313 #2314

Merged
merged 1 commit into from
Oct 9, 2024

Conversation

ParthaI
Copy link
Contributor

@ParthaI ParthaI commented Sep 25, 2024

Integration test logs

Logs
N/A

Example query results

Results
> select * from aws_servicequotas_service_quota WHERE quota_code = 'L-0263D0A3' and service_code = 'ec2'
+---------------------+------------+------------------------------------------------------------------+--------------+-------------------------------------------+--------------+------------+------+------------------------+-------+--------------+--------+----------+--------------+---------------+--------+--------->
| quota_name          | quota_code | quota_arn                                                        | global_quota | service_name                              | service_code | adjustable | unit | quota_applied_at_level | value | error_reason | period | tags_src | usage_metric | quota_context | tags   | title   >
+---------------------+------------+------------------------------------------------------------------+--------------+-------------------------------------------+--------------+------------+------+------------------------+-------+--------------+--------+----------+--------------+---------------+--------+--------->
| EC2-VPC Elastic IPs | L-0263D0A3 | arn:aws:servicequotas:me-central-1:xxxxxxxxxxxx:ec2/L-0263D0A3   | false        | Amazon Elastic Compute Cloud (Amazon EC2) | ec2          | true       | None | ACCOUNT                | 5     | <null>       | <null> | []       | <null>       | <null>        | <null> | EC2-VPC >
| EC2-VPC Elastic IPs | L-0263D0A3 | arn:aws:servicequotas:af-south-1:xxxxxxxxxxxx:ec2/L-0263D0A3     | false        | Amazon Elastic Compute Cloud (Amazon EC2) | ec2          | true       | None | ACCOUNT                | 5     | <null>       | <null> | []       | <null>       | <null>        | <null> | EC2-VPC >
| EC2-VPC Elastic IPs | L-0263D0A3 | arn:aws:servicequotas:ap-south-1:xxxxxxxxxxxx:ec2/L-0263D0A3     | false        | Amazon Elastic Compute Cloud (Amazon EC2) | ec2          | true       | None | ACCOUNT                | 5     | <null>       | <null> | []       | <null>       | <null>        | <null> | EC2-VPC >
| EC2-VPC Elastic IPs | L-0263D0A3 | arn:aws:servicequotas:ca-central-1:xxxxxxxxxxxx:ec2/L-0263D0A3   | false        | Amazon Elastic Compute Cloud (Amazon EC2) | ec2          | true       | None | ACCOUNT                | 5     | <null>       | <null> | []       | <null>       | <null>        | <null> | EC2-VPC >
| EC2-VPC Elastic IPs | L-0263D0A3 | arn:aws:servicequotas:us-east-2:xxxxxxxxxxxx:ec2/L-0263D0A3      | false        | Amazon Elastic Compute Cloud (Amazon EC2) | ec2          | true       | None | ACCOUNT                | 5     | <null>       | <null> | []       | <null>       | <null>        | <null> | EC2-VPC >
| EC2-VPC Elastic IPs | L-0263D0A3 | arn:aws:servicequotas:ap-northeast-3:xxxxxxxxxxxx:ec2/L-0263D0A3 | false        | Amazon Elastic Compute Cloud (Amazon EC2) | ec2          | true       | None | ACCOUNT                | 5     | <null>       | <null> | []       | <null>       | <null>        | <null> | EC2-VPC >
| EC2-VPC Elastic IPs | L-0263D0A3 | arn:aws:servicequotas:ap-east-1:xxxxxxxxxxxx:ec2/L-0263D0A3      | false        | Amazon Elastic Compute Cloud (Amazon EC2) | ec2          | true       | None | ACCOUNT                | 5     | <null>       | <null> | []       | <null>       | <null>        | <null> | EC2-VPC >
| EC2-VPC Elastic IPs | L-0263D0A3 | arn:aws:servicequotas:me-south-1:xxxxxxxxxxxx:ec2/L-0263D0A3     | false        | Amazon Elastic Compute Cloud (Amazon EC2) | ec2          | true       | None | ACCOUNT                | 5     | <null>       | <null> | []       | <null>       | <null>        | <null> | EC2-VPC >
| EC2-VPC Elastic IPs | L-0263D0A3 | arn:aws:servicequotas:ap-southeast-3:xxxxxxxxxxxx:ec2/L-0263D0A3 | false        | Amazon Elastic Compute Cloud (Amazon EC2) | ec2          | true       | None | ACCOUNT                | 5     | <null>       | <null> | []       | <null>       | <null>        | <null> | EC2-VPC >
| EC2-VPC Elastic IPs | L-0263D0A3 | arn:aws:servicequotas:eu-west-1:xxxxxxxxxxxx:ec2/L-0263D0A3      | false        | Amazon Elastic Compute Cloud (Amazon EC2) | ec2          | true       | None | ACCOUNT                | 5     | <null>       | <null> | []       | <null>       | <null>        | <null> | EC2-VPC >

…iple regions with the same service_code Closes #2313
@misraved misraved merged commit 7665f9b into main Oct 9, 2024
1 check passed
@misraved misraved deleted the issue-2313 branch October 9, 2024 03:59
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.

aws_servicequotas_service_quota queries fail when querying multiple regions with the same service_code
2 participants