Remove boto 'set_acl' call after upload (#49)

Since it causes access denied errors when the IAM user does not have
`PutObjectAcl` permissions for the S3 bucket, preventing the use of a
more locked down IAM user for deployment.

It seems preferable to leave the bucket ACLs to the bucket owner,
and for `bob deploy` to only upload the file.

Closes W-8134681.
This commit is contained in:
Ed Morley
2020-10-01 17:49:29 +01:00
committed by GitHub
parent 7c172f3172
commit 45ed571b7e
-1
View File
@@ -192,6 +192,5 @@ class Formula(object):
# Upload the archive, set permissions.
key.set_contents_from_filename(self.archived_path)
key.set_acl('public-read')
print_stderr('Upload complete!')