[Bug] Configuration incorrectly infers hosts to be serverless or not #729
Labels
bug
Something isn't working
High Severity
bug with significant impact that should be resolved in a reasonable timeframe
ra3_node
issues relating to ra3 node support
triage
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: