Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Support S3 Account Settings #285

Merged
merged 13 commits into from
Nov 23, 2021
Merged

Support S3 Account Settings #285

merged 13 commits into from
Nov 23, 2021

Conversation

bbernays
Copy link
Contributor

fixes: #282

@bbernays bbernays requested a review from roneli November 22, 2021 23:24
Copy link
Member

@yevgenypats yevgenypats 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, I love the ConfigExist attribute, this will make queries much more simpler.
Only mock and e2e tests are missing.

resources/s3_accounts.go Outdated Show resolved Hide resolved
Copy link
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, had one suggestion + as @yevgenypats we should add e2e + mock tests

resources/s3_accounts.go Outdated Show resolved Hide resolved
resources/s3_accounts.go Outdated Show resolved Hide resolved
Copy link
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, added one suggestion to make the flow cleaner, I think you can also add account id to the initialization and remove initialization in lines 69-71.

Still missing mock tests for sanity + e2e tests I think no terraform is required, just a fetching the data and verifying values worked.

resources/s3_accounts.go Outdated Show resolved Hide resolved
@bbernays bbernays changed the title [WIP] Support S3 Account Settings Support S3 Account Settings Nov 23, 2021
@disq disq self-requested a review November 23, 2021 13:49
@roneli roneli merged commit c016274 into cloudquery:main Nov 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

S3 Account Settings
4 participants