Skip to content

Commit 138953f

Browse files
authored
Update postgresql.py
Add support for aurora-postgresql engine
1 parent c66e652 commit 138953f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

awswrangler/postgresql.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ def connect(
225225
attrs: _db_utils.ConnectionAttributes = _db_utils.get_connection_attributes(
226226
connection=connection, secret_id=secret_id, catalog_id=catalog_id, dbname=dbname, boto3_session=boto3_session
227227
)
228-
if attrs.kind not in ("postgresql", "postgres"):
228+
if attrs.kind not in ("postgresql", "postgres", "aurora-postgresql"):
229229
raise exceptions.InvalidDatabaseType(
230230
f"Invalid connection type ({attrs.kind}. It must be a postgresql connection.)"
231231
)

0 commit comments

Comments
 (0)