From b45309a21e82fe0b8120556f5ccb4acdf3f2c80c Mon Sep 17 00:00:00 2001 From: pamfilos Date: Tue, 27 Aug 2024 16:42:45 +0200 Subject: [PATCH] storage: s3 - gives files 'public-read' access Signed-off-by: pamfilos --- dags/common/scoap3_s3.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dags/common/scoap3_s3.py b/dags/common/scoap3_s3.py index 8989061a..f5c933ea 100644 --- a/dags/common/scoap3_s3.py +++ b/dags/common/scoap3_s3.py @@ -138,6 +138,7 @@ def download_and_upload_to_s3(self, url, prefix=None, headers=None, type=None): Metadata={ "source_url": url, }, + ACL="public-read", ) return f"{self.bucket}/{destination_key}" except Exception as e: