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?

gefragt vor 2 Jahren1257 Aufrufe
2 Antworten
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

beantwortet vor 2 Jahren
  • Glad to help. 🙂

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
beantwortet vor 2 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen