Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: make tunnel settings optional #136

Merged
merged 1 commit into from
May 25, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions tap_postgres/tap.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ class TapPostgres(SQLTap):
th.Property(
"enable",
th.BooleanType,
required=True,
required=False,
default=False,
description=(
"Enable an ssh tunnel (also known as bastion host), see the "
Expand All @@ -50,7 +50,7 @@ class TapPostgres(SQLTap):
th.Property(
"host",
th.StringType,
required=True,
required=False,
description=(
"Host of the bastion host, this is the host "
"we'll connect to via ssh"
Expand All @@ -59,20 +59,20 @@ class TapPostgres(SQLTap):
th.Property(
"username",
th.StringType,
required=True,
required=False,
description="Username to connect to bastion host",
),
th.Property(
"port",
th.IntegerType,
required=True,
required=False,
default=22,
description="Port to connect to bastion host",
),
th.Property(
"private_key",
th.StringType,
required=True,
required=False,
secret=True,
description="Private Key for authentication to the bastion host",
),
Expand Down