Skip to content

feat: Resource list enhancements#706

Merged
disq merged 5 commits into
cloudquery:mainfrom
disq:feat/resource-list
May 16, 2022
Merged

feat: Resource list enhancements#706
disq merged 5 commits into
cloudquery:mainfrom
disq:feat/resource-list

Conversation

@disq
Copy link
Copy Markdown
Member

@disq disq commented May 12, 2022

Implements cloudquery/cq-provider-aws#687 and #1390

Maybe don't use "unlimited" globbing but allow only for class-level wildcards? ie. don't allow s3.bu* but only s3.*

@disq disq requested review from a team, bbernays and roneli and removed request for a team May 12, 2022 17:08
@bbernays
Copy link
Copy Markdown
Collaborator

I agree that we should only support blobs at the service level

Comment thread pkg/core/fetch_test.go
Copy link
Copy Markdown
Collaborator

@bbernays bbernays left a comment

Choose a reason for hiding this comment

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

LGTM other than the single comment

Copy link
Copy Markdown
Contributor

@roneli roneli left a comment

Choose a reason for hiding this comment

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

Looks great had a nit on the function as I think the functions should be small and with 1 job rather then do many jobs on the resource list, other than that the logic looks great.

Comment thread pkg/core/fetch.go
@disq disq requested a review from roneli May 13, 2022 20:40
Copy link
Copy Markdown
Contributor

@roneli roneli left a comment

Choose a reason for hiding this comment

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

LGTM

@disq disq merged commit 1952a27 into cloudquery:main May 16, 2022
@disq disq deleted the feat/resource-list branch May 16, 2022 10:38
@bbernays bbernays linked an issue May 25, 2022 that may be closed by this pull request
@bbernays bbernays linked an issue Jun 2, 2022 that may be closed by this pull request
@github-actions github-actions Bot added the feat label Aug 16, 2022
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.

Support NotResource Attribute for provider Suggestion: support resource "*" and use it in default config

3 participants