Skip to content

Commit 277e151

Browse files
authored
feat: Update to SDK v2.3.8 (#10222)
#### Summary Part of #9946 BEGIN_COMMIT_OVERRIDE feat: Update to SDK v2.3.8 BREAKING-CHANGE: With this CLI version the `tables:` source spec configuration is now required. We're making it required as the previous default of `["*"]` (all tables) is not suitable for production usage as it can be slow to sync all tables on popular plugins like AWS, GCP and Azure. END_COMMIT_OVERRIDE <!--
1 parent 5442837 commit 277e151

File tree

6 files changed

+10
-3
lines changed

6 files changed

+10
-3
lines changed

cli/cmd/testdata/multiple-sources-destinations.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,15 @@ spec:
44
path: "cloudquery/test"
55
destinations: [test-1, test-2]
66
version: "v1.4.6" # latest version of source test plugin
7+
tables: ["*"]
78
---
89
kind: "source"
910
spec:
1011
name: "test-2"
1112
path: "cloudquery/test"
1213
destinations: [test-2, test-1]
1314
version: "v1.4.6" # latest version of source test plugin
15+
tables: ["*"]
1416
---
1517
kind: "destination"
1618
spec:

cli/cmd/testdata/multiple-sources.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,23 @@ spec:
44
path: cloudquery/aws
55
version: v15.3.0 # latest version of aws plugin
66
destinations: [mysql]
7+
tables: ["*"]
78
---
89
kind: source
910
spec:
1011
name: gcp
1112
path: cloudquery/gcp
1213
version: v8.4.0 # latest version of gcp plugin
1314
destinations: [mysql]
15+
tables: ["*"]
1416
---
1517
kind: source
1618
spec:
1719
name: azure
1820
path: cloudquery/azure
1921
version: v5.1.1 # latest version of azure plugin
2022
destinations: [mysql]
23+
tables: ["*"]
2124
---
2225
kind: destination
2326
spec:

cli/cmd/testdata/sync-missing-path-error.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ spec:
44
path: "cloudquery/test"
55
destinations: [test]
66
version: "v1.4.6" # latest version of source test plugin
7+
tables: ["*"]
78
---
89
kind: "destination"
910
spec:

cli/cmd/testdata/sync-success.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ spec:
44
path: "cloudquery/test"
55
destinations: [test]
66
version: "v1.4.6" # latest version of source test plugin
7+
tables: ["*"]
78
---
89
kind: "destination"
910
spec:

cli/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module github.com/cloudquery/cloudquery/cli
33
go 1.19
44

55
require (
6-
github.com/cloudquery/plugin-sdk/v2 v2.3.6
6+
github.com/cloudquery/plugin-sdk/v2 v2.3.8
77
github.com/getsentry/sentry-go v0.20.0
88
github.com/google/uuid v1.3.0
99
github.com/rs/zerolog v1.29.0

cli/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ github.com/avast/retry-go/v4 v4.3.3/go.mod h1:rg6XFaiuFYII0Xu3RDbZQkxCofFwruZKW8
88
github.com/bradleyjkemp/cupaloy/v2 v2.8.0 h1:any4BmKE+jGIaMpnU8YgH/I2LPiLBufr6oMMlVBbn9M=
99
github.com/cloudquery/arrow/go/v12 v12.0.0-20230411134648-a5b71cd453c8 h1:v4ST367e8h0VyazUy3O/8soQzpHHGxH/8Jng9YlhZH8=
1010
github.com/cloudquery/arrow/go/v12 v12.0.0-20230411134648-a5b71cd453c8/go.mod h1:d+tV/eHZZ7Dz7RPrFKtPK02tpr+c9/PEd/zm8mDS9Vg=
11-
github.com/cloudquery/plugin-sdk/v2 v2.3.6 h1:fzsmALscu9w6pZNB+6Aj4cobhqCCKorCDjV3EtkF8Ao=
12-
github.com/cloudquery/plugin-sdk/v2 v2.3.6/go.mod h1:/wAbhyQbdIUAMEL+Yo9zkgoBls83xt3ev6jLpJblIoU=
11+
github.com/cloudquery/plugin-sdk/v2 v2.3.8 h1:6UzliJ1TW70Y40aQIQv6AXBY5ra7sWtlBo12UQsGF2A=
12+
github.com/cloudquery/plugin-sdk/v2 v2.3.8/go.mod h1:/wAbhyQbdIUAMEL+Yo9zkgoBls83xt3ev6jLpJblIoU=
1313
github.com/coreos/go-systemd/v22 v22.3.3-0.20220203105225-a9a7ef127534/go.mod h1:Y58oyj3AT4RCenI/lSvhwexgC+NSVTIJ3seZv2GcEnc=
1414
github.com/cpuguy83/go-md2man/v2 v2.0.2 h1:p1EgwI/C7NhT0JmVkwCD2ZBK8j4aeHQX2pMHHBfMQ6w=
1515
github.com/cpuguy83/go-md2man/v2 v2.0.2/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=

0 commit comments

Comments
 (0)