Terraform

Terraform

Made by DeepSource

Invalid ACL value for AWS S3 bucket TF-L0051

Bug risk
Critical

Amazon S3 access control lists (ACLs) enable you to manage access to buckets and objects. Each bucket and object has an ACL attached to it as a subresource. It defines which AWS accounts or groups are granted access and the type of access. When a request is received against a resource, Amazon S3 checks the corresponding ACL to verify that the requester has the necessary access permissions.

Here, the S3 bucket has provided with an invalid ACL value. Here is a sample valid ACL for reference.