Ssl_config in RedshiftIAM class

Hi,

Our analytics team set up the latest version of Redash running on AWS ECS Fargate. We connected our Redshift data source via IAM role and was receiving “RedshiftIAM object does not contain ssl_config” error when attempting to establish a connection.

After doing some troubleshooting, we noticed that the _get_connection method under RedshiftIAM class did not define ssl_config like the other classes, so added the following line of custom code in the backend and got our setup working:

Any advice from the community on whether this is a bug with the original source code or a misconfiguration on our end? Thanks.