Skip to content

Conversation

@bbernays
Copy link
Collaborator

Summary

Prior to this fix if a user tried to use client.ResolveAWSAccount on a column not on account_id it would fail because the resolver had the column name hard coded

Copy link
Member

@erezrokah erezrokah left a comment

Choose a reason for hiding this comment

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

Thanks for the PR @bbernays, can you share when do we want the account ID, region and namespace to be set on columns other than account_id, region and namespace?

I feel like I'm missing the use case here

@erezrokah erezrokah dismissed their stale review January 26, 2023 10:22

Don't think my comment is blocking

@bbernays
Copy link
Collaborator Author

Thanks for the PR @bbernays, can you share when do we want the account ID, region and namespace to be set on columns other than account_id, region and namespace?

I feel like I'm missing the use case here

I ran into issues with Security Hub where the Region resolver was updating different columns from where it was called.

@bbernays bbernays added the automerge Automatically merge once required checks pass label Jan 26, 2023
@kodiakhq kodiakhq bot merged commit 6b32744 into cloudquery:main Jan 26, 2023
kodiakhq bot pushed a commit that referenced this pull request Jan 26, 2023
🤖 I have created a release *beep* *boop*
---


## [12.2.0](plugins-source-aws-v12.1.0...plugins-source-aws-v12.2.0) (2023-01-26)


### Features

* **aws:** Add support for Lambda Runtime Management ([#7152](#7152)) ([888e6e2](888e6e2))


### Bug Fixes

* **aws:** Built in Resolvers ([#7203](#7203)) ([6b32744](6b32744))
* **aws:** Cloudtrail pks ([#7199](#7199)) ([06d8ff6](06d8ff6))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.29.0 ([#7121](#7121)) ([b7441c9](b7441c9))
* **deps:** Update module github.com/cloudquery/plugin-sdk to v1.30.0 ([#7222](#7222)) ([73ca21c](73ca21c))
* Update endpoints ([#7142](#7142)) ([7116865](7116865))
* Update endpoints ([#7198](#7198)) ([506392f](506392f))

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

4 participants