Skip to content

Commit 35b63fe

Browse files
fix: Update usage to reference cloudquery.yml
Co-authored-by: erezrokah <erezrokah@users.noreply.github.com>
1 parent caf720c commit 35b63fe

File tree

4 files changed

+40
-49
lines changed

4 files changed

+40
-49
lines changed

.github/workflows/example.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
- name: Setup CloudQuery
4949
uses: ./.
5050
- name: Fetch with CloudQuery
51-
run: cloudquery fetch --config example_configs/config-1.hcl
51+
run: cloudquery fetch --config example_configs/cloudquery.yml
5252
- uses: actions/upload-artifact@v3
5353
if: always()
5454
with:

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
cloudquery:
2727
runs-on: ubuntu-latest
2828
steps:
29-
# Download the repository content with the `config.hcl` file
29+
# Checkout a git repository with a pre-existing `cloudquery.yml` configuration file
3030
- uses: actions/checkout@v3
3131

3232
# Setup AWS credentials (example)
@@ -43,7 +43,7 @@ jobs:
4343
version: latest
4444

4545
- name: Fetch with CloudQuery
46-
run: cloudquery fetch --config config.hcl
46+
run: cloudquery fetch --config cloudquery.yml
4747

4848
# Upload logs as a GitHub actions artifact
4949
- uses: actions/upload-artifact@v3

example_configs/cloudquery.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
cloudquery:
2+
providers:
3+
- name: aws
4+
version: latest
5+
connection:
6+
username: 'postgres'
7+
password: 'pass'
8+
host: 'localhost'
9+
port: 5432
10+
database: 'postgres'
11+
sslmode: 'disable'
12+
13+
providers:
14+
- name: aws
15+
resources:
16+
- 'accessanalyzer.analyzers'
17+
- 'acm.certificates'
18+
- 'apigateway.api_keys'
19+
- 'apigateway.client_certificates'
20+
- 'apigateway.domain_names'
21+
- 'apigateway.rest_apis'
22+
- 'apigateway.usage_plans'
23+
- 'apigateway.vpc_links'
24+
- 'apigatewayv2.apis'
25+
- 'apigatewayv2.domain_names'
26+
- 'apigatewayv2.vpc_links'
27+
- 'applicationautoscaling.policies'
28+
- 'athena.data_catalogs'
29+
- 'athena.work_groups'
30+
- 'autoscaling.groups'
31+
- 'autoscaling.launch_configurations'
32+
- 'autoscaling.scheduled_actions'
33+
- 'aws.regions'
34+
- 'backup.global_settings'
35+
- 'backup.plans'
36+
- 'backup.region_settings'
37+
- 'backup.vaults'

example_configs/config-1.hcl

Lines changed: 0 additions & 46 deletions
This file was deleted.

0 commit comments

Comments
 (0)