Splitgraph has been acquired by EDB! Read the blog post.

sgr cloud tunnel

sgr cloud tunnel [OPTIONS] REPOSITORY_OR_LOCAL_ADDRESS

Start tunnel to query a private data source. The tunnel will run in the foreground providing Splitgraph Cloud access to the data source for the duration of the process.

To provide access to a private data source during repository creation, provide its host:port address, e.g.:

sgr cloud tunnel localhost:5432

Then, create an external repository with the host and port output by the command.

To query existing external repositories requiring a tunnel to access their backing data source, run:

sgr cloud tunnel namespace/repo

Note that for this to work, the splitgraph.yml definition of the repository must include tunnel: true.

Options

  • --remote TEXT: Name of the remote registry to use.
  • -f, --repositories-file PATH:

Table of contents