メインコンテンツまでスキップ

S3ポリシーが無効です。ステートメント内のどのリソースにもアクションは適用されません

Views:
4
Visibility:
Public
Votes:
0
Category:
storagegrid<a>2009494896</a>
Specialty:
sgrid
Last Updated:

環境

NetApp StorageGRID

問題

StorageGRID でバケットポリシーを設定しようとすると、次の情報が報告されます。

"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"

上記のポリシーの例はListBucketとListAllMyBucketsのものですが、他のステートメントにも適用できます。

このエラーが報告されるステートメントの例:

{
"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.