Skip to content
Open
Changes from 1 commit
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
Next Next commit
Fix(redshift): add missing db_user parameter for IAM auth
  • Loading branch information
synthpieter committed Feb 2, 2026
commit 50229abca2eea7883f08c21925602a4f517c1f71
3 changes: 3 additions & 0 deletions sqlmesh/core/config/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1310,6 +1310,7 @@ class RedshiftConnectionConfig(ConnectionConfig):
region: The AWS region where the Amazon Redshift cluster is located.
cluster_identifier: The cluster identifier of the Amazon Redshift cluster.
iam: If IAM authentication is enabled. Default value is False. IAM must be True when authenticating using an IdP.
db_user: The database user to authenticate as. Required when using IAM authentication.
is_serverless: Redshift end-point is serverless or provisional. Default value false.
serverless_acct_id: The account ID of the serverless. Default value None
serverless_work_group: The name of work group for serverless end point. Default value None.
Expand All @@ -1335,6 +1336,7 @@ class RedshiftConnectionConfig(ConnectionConfig):
region: t.Optional[str] = None
cluster_identifier: t.Optional[str] = None
iam: t.Optional[bool] = None
db_user: t.Optional[str] = None
is_serverless: t.Optional[bool] = None
serverless_acct_id: t.Optional[str] = None
serverless_work_group: t.Optional[str] = None
Expand Down Expand Up @@ -1372,6 +1374,7 @@ def _connection_kwargs_keys(self) -> t.Set[str]:
"region",
"cluster_identifier",
"iam",
"db_user",
"is_serverless",
"serverless_acct_id",
"serverless_work_group",
Expand Down