Skip to main content
NetApp Knowledge Base

S3 Policy is invalid. Action is not applicable to any resource in the statement

Views:
323
Visibility:
Public
Votes:
0
Category:
storagegrid
Specialty:
sgrid
Last Updated:

Applies to

NetApp StorageGRID

Issue

When trying to configure a bucket policy in StorageGRID, it reports:

"S3 Policy is invalid. Action is not applicable to any resource in the statement: s3:ListBucket"
"S3 Policy is invalid. Action is not applicable to any resource in the statement: s3:ListAllMyBuckets"

Example of above policy is for ListBucket and ListAllMyBuckets specifically, but can apply to other statements.

Example of statement where this error is reported:

{
"Statement": [
{

"Effect": "Allow",
"Action": [
"s3:DeleteObject",
"s3:DeleteObjectTagging",

"s3:GetObject",
"s3:GetObjectTagging",
"s3:PutObject",

"s3:PutObjectTagging",

],
"Resource": "arn:aws:s3:::<bucketname>/*"
}
]
}

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.