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

feat: YAML config support #1067

Merged
merged 7 commits into from
Jun 21, 2022
Merged

feat: YAML config support #1067

merged 7 commits into from
Jun 21, 2022

Conversation

disq
Copy link
Member

@disq disq commented Jun 16, 2022

to go with https://github.com/cloudquery/cq-provider-sdk and cloudquery/cloudquery#887

go run main.go init aws --config config.yml creates this:

cloudquery:
    providers:
        - name: aws
          version: latest
    connection:
        type: postgres
        username: postgres
        password: pass
        host: localhost
        port: 5432
        database: postgres
        sslmode: disable
providers:
    # provider configurations
    aws:
        # Optional. by default assumes all regions
        # regions:
        #   - us-east-1
        #     us-west-2
        # Optional. Enable AWS SDK debug logging.
        #   aws_debug: false
        # The maximum number of times that a request will be retried for failures. Defaults to 10 retry attempts.
        # max_retries: 10
        # The maximum back off delay between attempts. The backoff delays exponentially with a jitter based on the number of attempts. Defaults to 30 seconds.
        # max_backoff: 30
        #  
        # list of resources to fetch
        resources:
            - accessanalyzer.analyzers
            - acm.certificates
#...

@disq disq requested a review from a team as a code owner June 16, 2022 21:20
@disq disq requested review from spangenberg and removed request for a team June 16, 2022 21:20
@disq disq changed the title feat: YAML support feat: YAML config support Jun 16, 2022
@disq disq requested review from roneli, bbernays and yevgenypats June 16, 2022 21:21
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

@disq disq force-pushed the feat/yaml-support branch from 0e3a97b to b2ee126 Compare June 20, 2022 12:39
@disq disq force-pushed the feat/yaml-support branch from b0c9a64 to f79b94e Compare June 21, 2022 08:47
@disq disq merged commit 24d2722 into main Jun 21, 2022
@disq disq deleted the feat/yaml-support branch June 21, 2022 09:03
kodiakhq bot pushed a commit that referenced this pull request Jun 21, 2022
🤖 I have created a release *beep* *boop*
---


## [0.12.16-rc1](v0.12.15...v0.12.16-rc1) (2022-06-21)


### Features

* YAML config support ([#1067](#1067)) ([24d2722](24d2722))


### Bug Fixes

* **deps:** Upgrade AWS ECR SDK ([#1079](#1079)) ([7de5bda](7de5bda))


### Miscellaneous Chores

* Release v0.12.16-rc1 ([#1084](#1084)) ([745eb88](745eb88))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
kodiakhq bot pushed a commit that referenced this pull request Jun 22, 2022
🤖 I have created a release *beep* *boop*
---


## [0.12.16](v0.12.15...v0.12.16) (2022-06-22)


### Features

* YAML config support ([#1067](#1067)) ([24d2722](24d2722))


### Bug Fixes

* **deps:** Upgrade AWS ECR SDK ([#1079](#1079)) ([7de5bda](7de5bda))
* Classify to many open files ([#1064](#1064)) ([89b1684](89b1684))
* **deps:** Update module github.com/cloudquery/cq-provider-sdk to v0.12.1 ([#1083](#1083)) ([6a4dc83](6a4dc83))
* List buckets only us-east-1 ([#1088](#1088)) ([b3d7476](b3d7476))
* Rename S3 Resources ([#1082](#1082)) ([757b9aa](757b9aa))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
erezrokah pushed a commit to cloudquery/cloudquery that referenced this pull request Aug 14, 2022
🤖 I have created a release *beep* *boop*
---


## [0.12.16-rc1](cloudquery/cq-provider-aws@v0.12.15...v0.12.16-rc1) (2022-06-21)


### Features

* YAML config support ([#1067](cloudquery/cq-provider-aws#1067)) ([24d2722](cloudquery/cq-provider-aws@24d2722))


### Bug Fixes

* **deps:** Upgrade AWS ECR SDK ([#1079](cloudquery/cq-provider-aws#1079)) ([7de5bda](cloudquery/cq-provider-aws@7de5bda))


### Miscellaneous Chores

* Release v0.12.16-rc1 ([#1084](cloudquery/cq-provider-aws#1084)) ([745eb88](cloudquery/cq-provider-aws@745eb88))

---
This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
erezrokah pushed a commit to cloudquery/cloudquery that referenced this pull request Aug 14, 2022
🤖 I have created a release *beep* *boop*
---


## [0.12.16](cloudquery/cq-provider-aws@v0.12.15...v0.12.16) (2022-06-22)


### Features

* YAML config support ([#1067](cloudquery/cq-provider-aws#1067)) ([24d2722](cloudquery/cq-provider-aws@24d2722))


### Bug Fixes

* **deps:** Upgrade AWS ECR SDK ([#1079](cloudquery/cq-provider-aws#1079)) ([7de5bda](cloudquery/cq-provider-aws@7de5bda))
* Classify to many open files ([#1064](cloudquery/cq-provider-aws#1064)) ([89b1684](cloudquery/cq-provider-aws@89b1684))
* **deps:** Update module github.com/cloudquery/cq-provider-sdk to v0.12.1 ([#1083](cloudquery/cq-provider-aws#1083)) ([6a4dc83](cloudquery/cq-provider-aws@6a4dc83))
* List buckets only us-east-1 ([#1088](cloudquery/cq-provider-aws#1088)) ([b3d7476](cloudquery/cq-provider-aws@b3d7476))
* Rename S3 Resources ([#1082](cloudquery/cq-provider-aws#1082)) ([757b9aa](cloudquery/cq-provider-aws@757b9aa))

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

3 participants