diff --git a/backend/dataall/modules/redshift_datasets_shares/aws/redshift.py b/backend/dataall/modules/redshift_datasets_shares/aws/redshift.py index 75dc0ea21..1498b0723 100644 --- a/backend/dataall/modules/redshift_datasets_shares/aws/redshift.py +++ b/backend/dataall/modules/redshift_datasets_shares/aws/redshift.py @@ -19,7 +19,9 @@ def authorize_datashare(self, datashare_arn: str, account: str) -> None: """ try: log.info(f'Authorizing datashare {datashare_arn=} to consumer {account}...') - self.client.authorize_data_share(DataShareArn=datashare_arn, ConsumerIdentifier=account, AllowWrites=False) + self.client.authorize_data_share( + DataShareArn=datashare_arn, ConsumerIdentifier=account + ) # AllowWrites in preview except ClientError as e: log.error(e) raise e