Skip to content

fix(aws-code-gen): Prefix service name when filtering relations from table list#3546

Merged
erezrokah merged 2 commits intocloudquery:mainfrom
erezrokah:fix/aws_code_gen
Nov 3, 2022
Merged

fix(aws-code-gen): Prefix service name when filtering relations from table list#3546
erezrokah merged 2 commits intocloudquery:mainfrom
erezrokah:fix/aws_code_gen

Conversation

@erezrokah
Copy link
Copy Markdown
Member

@erezrokah erezrokah commented Nov 3, 2022

Summary

We're missing a bunch of top level tables, as if there's a relation function named "Instances" it will also filter a top level "Instances" service.

See tables for v4.0.0:
https://github.com/cloudquery/cloudquery/blob/plugins-source-aws-v4.0.0/plugins/source/aws/resources/plugin/tables.go#L145

See tables for v4.2.1:
https://github.com/cloudquery/cloudquery/blob/plugins-source-aws-v4.2.1/plugins/source/aws/resources/plugin/tables.go#L146

Copy link
Copy Markdown
Contributor

@hermanschaaf hermanschaaf left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, nice catch! 🙇

@hermanschaaf hermanschaaf added automerge Automatically merge once required checks pass priority merge labels Nov 3, 2022
@erezrokah erezrokah merged commit aefaa9a into cloudquery:main Nov 3, 2022
@erezrokah erezrokah deleted the fix/aws_code_gen branch November 3, 2022 16:59
erezrokah pushed a commit that referenced this pull request Nov 3, 2022
🤖 I have created a release *beep* *boop*
---


##
[4.3.0](plugins-source-aws-v4.2.1...plugins-source-aws-v4.3.0)
(2022-11-03)


### Features

* **aws:** Add Support for Service Quotas
([#3489](#3489))
([d9d0dac](d9d0dac))
* **aws:** Managed Workflows for Apache Airflow (MWAA) environments
([#3431](#3431))
([a8a08c3](a8a08c3)),
closes [#2300](#2300)


### Bug Fixes

* **aws-code-gen:** Prefix service name when filtering relations from
table list
([#3546](#3546))
([aefaa9a](aefaa9a))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automerge Automatically merge once required checks pass

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants