-
Notifications
You must be signed in to change notification settings - Fork 60
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
[Bug] Configuration incorrectly infers hosts to be serverless or not #729
Comments
hey @huttotw, sorry you're having trouble connecting.
Am I correct in my understanding that |
Looks like dbt-redshift is currently inferring the Also, (you've probably already done this but just wanted to check) are you able to psql into Redshift Serverless from your EC2 instance? |
This should have been solved via #835 |
Hi, sorry for digging in this closed issue, but I'm facing the same problem when I point DBT to my serverless Redshift instance through a ssh tunnel. Although, in our case our host value ("localhost") is ignored an the error The fix in #835 doesn't seem to solve this problem, because we still need to have the substring "serverless" in the value of our host. Are there any possible solutions in this use case? |
Is this a new bug in dbt-redshift?
Current Behavior
Today, when
method: iam
is used,redshift_connector
get's confused if there is a non-standard hostname (SSH tunnel, CNAME, etc) and always tries to authenticate to a provisioned cluster by callingredshift:GetClusterCredentials
even if the host points to a serverless cluster.Expected Behavior
dbt-redshift should pass the explicit option
is_serverless
through to theredshift_connector
package so that the correct API is used to authorized the user. Ideally, the format of thehost
should be irrelevant since it can take many forms in a lot of different set ups.Steps To Reproduce
host
tolocalhost
in yourprofiles.yml
dbt debug
Relevant log output
Environment
Additional Context
The Redshift serverless cluster I'm trying to connect to is private and only accessible via an SSH tunnel.
The text was updated successfully, but these errors were encountered: