--- title: "test-connection" --- ## cloudquery test-connection Test plugin connections to sources and/or destinations ### Synopsis Test plugin connections to sources and/or destinations ``` cloudquery test-connection [files or directories] [flags] ``` ### Examples ``` # Test plugin connections to sources and/or destinations cloudquery test-connection ./directory # Test plugin connections from directories and files cloudquery test-connection ./directory ./aws.yml ./pg.yml ``` ### Options ``` -h, --help help for test-connection ``` ### Options inherited from parent commands ``` --cq-dir string directory to store cloudquery files, such as downloaded plugins (default ".cq") --invocation-id uuid useful for when using Open Telemetry integration for tracing and logging to be able to correlate logs and traces through many services (default ) --log-console enable console logging --log-file-name string Log filename (default "cloudquery.log") --log-format string Logging format (json, text) (default "text") --log-level string Logging level (trace, debug, info, warn, error) (default "info") --no-log-file Disable logging to file --telemetry-level string Telemetry level (none, errors, stats, all) (default "all") ``` ### SEE ALSO * [cloudquery](/docs/reference/cli/cloudquery) - CloudQuery CLI