Skip to content

Commit

Permalink
storage: s3 - gives files 'public-read' access
Browse files Browse the repository at this point in the history
Signed-off-by: pamfilos <[email protected]>
  • Loading branch information
pamfilos committed Aug 27, 2024
1 parent 41325b3 commit b45309a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dags/common/scoap3_s3.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit b45309a

Please sign in to comment.