Skip to content

Commit

Permalink
Remove public ACL configuration
Browse files Browse the repository at this point in the history
Public access to items in the S3 bucket is configured in cisagov/publish-egress-ip-terraform.

Co-authored-by: Nick <50747025+mcdonnnj@users.noreply.github.com>
  • Loading branch information
dav3r and mcdonnnj authored May 23, 2024
1 parent 3534593 commit 148fab0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lambda_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,10 +199,6 @@ def update_bucket(bucket_name: str, object_name: str, object_contents: str) -> N
ContentType="text/plain",
)

# By default, new objects cannot be read by the public, but we want to
# allow public reads of this object
b_object.Acl().put(ACL="public-read")


def failed_task(result: Dict[str, Any], error_msg: str) -> None:
"""Update a given result because of a failure during processing."""
Expand Down

0 comments on commit 148fab0

Please sign in to comment.