fix(aws): Remove account validation#6226
Merged
kodiakhq[bot] merged 4 commits intocloudquery:mainfrom Jan 2, 2023
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
hermanschaaf
suggested changes
Jan 2, 2023
Contributor
hermanschaaf
left a comment
There was a problem hiding this comment.
@erezrokah This looks good, thanks! I'd say let's remove the account validation function entirely (so for OU accounts as well). It wasn't necessary. We can follow up to make sure that both account numbers and names are accepted by that as well, and if they aren't we should make it work the same way as the top-level list in any case
Contributor
|
Oh and just to be clear, let's keep the OU name validation. I believe that is still valid. |
Member
Author
👍 Done in 5623288. Also added an account alias to the tests |
hermanschaaf
approved these changes
Jan 2, 2023
kodiakhq bot
pushed a commit
that referenced
this pull request
Jan 2, 2023
🤖 I have created a release *beep* *boop* --- ## [9.1.0](plugins-source-aws-v9.0.1...plugins-source-aws-v9.1.0) (2023-01-02) ### Features * **aws:** Route53 Add transfer lock Status ([#6022](#6022)) ([c3f0e37](c3f0e37)) ### Bug Fixes * **aws:** Remove account validation ([#6226](#6226)) ([98dc0b2](98dc0b2)) * **deps:** Update github.com/gocarina/gocsv digest to 1fea7ae ([#6168](#6168)) ([6fc737b](6fc737b)) * **deps:** Update module github.com/aws/aws-sdk-go-v2/service/apigateway to v1.15.28 ([#6141](#6141)) ([5a7b876](5a7b876)) * **deps:** Update module github.com/aws/aws-sdk-go-v2/service/cloudfront to v1.23.0 ([#6159](#6159)) ([6e42815](6e42815)) * **deps:** Update module github.com/aws/aws-sdk-go-v2/service/elasticache to v1.25.0 ([#6111](#6111)) ([b1f5d4b](b1f5d4b)) * **deps:** Update module github.com/aws/aws-sdk-go-v2/service/emr to v1.21.0 ([#6142](#6142)) ([d68af16](d68af16)) * **deps:** Update module github.com/aws/aws-sdk-go-v2/service/rds to v1.38.0 ([#6112](#6112)) ([549e290](549e290)) * **deps:** Update module github.com/aws/aws-sdk-go-v2/service/secretsmanager to v1.17.0 ([#6143](#6143)) ([2d99f4f](2d99f4f)) * **deps:** Update module github.com/aws/aws-sdk-go-v2/service/transfer to v1.27.0 ([#6049](#6049)) ([87cf1f6](87cf1f6)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.14.0 ([#6025](#6025)) ([35b2cfc](35b2cfc)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.15.0 ([#6071](#6071)) ([684b525](684b525)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.15.1 ([#6079](#6079)) ([650659c](650659c)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.16.0 ([#6098](#6098)) ([7bacdf3](7bacdf3)) * **deps:** Update module github.com/cloudquery/plugin-sdk to v1.16.1 ([#6214](#6214)) ([53b2415](53b2415)) * Update endpoints ([#6136](#6136)) ([808ffab](808ffab)) * Update endpoints ([#6158](#6158)) ([dd773b8](dd773b8)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Leaving this open for tomorrow. A user on Discord reported that a previously working configuration stopped working on
v9.0.1.Relevant configuration:
Error:
It seems users should be able to use the alias of an account in the configuration. Keeping open for discussion and so that users can subscribe to get updates on this.
Also not sure about the
skip_member_accountsvalidation (I kept that one).