why my s3 policy generator dosen't work?

1

When i try to generate my s3 policy, Add statement dosen't work with messaege "Resource field is not valid. You must enter a valid ARN." even if i copied my arn by my bucket and add "/". principal is "".

Anyone can help?

已提問 2 年前檢視次數 1257 次
2 個答案
0

An answer providing a decent workaround on my post regarding the same issue:

"Hi,

I understand that you are having an error with creating an s3 bucket policy using the AWS policy generator. I did replicate and received the same error.

As a workaround:

I inserted a * in the ARN section and generated the policy.

I, thereafter, replaced the * with my ARN once it has been generated.

Please find the attached ARN Format documentation[1].

I hope this helps

Resources:-

[1] https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html. "

Thanks to Asisipho for the answer https://repost.aws/community/users/US0lvBJf90StOho6DSWkZivQ

已回答 2 年前
0

Hello,

I understand that you are experiencing the error below when attempting to generate s3 policy: "Resource field is not valid. You must enter a valid ARN."

I replicated the issue from my end and I got the same error as yours. I believe that this is a bug from S3 regarding the feature. Therefore, I would suggest that you open a ticket with the S3 team for further assistance in this regard[1]. In the meantime, you may consider creating the policy manually, if you face any challenges I am happy to assist. Feel free to share your use case.

Reference:

[1] https://us-east-1.console.aws.amazon.com/support/home

I hope the information above is helpful.

Phindi
已回答 2 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南