C2W1 Lab4 S3 bucket policy change issue

When I try to change bucket policy, I get a message that I do not have permission.


Hello @Dennis_Sinitsky
In the second screenshot you have attached there are to errors. The one on the top is shown but does not interfere with the progress. The second one, however, is saying what’s the problem. As you can see, it says Policy has invalid resource. So, let’s check the resource field in your policy. The resource is supposed to be like "arn:aws:s3:::<YOUR-DATA-BUCKET>/csv/*". However, the first screenshot you have attached shows that the resource field you have filled has date and time somewhere in it. Please, remove that, fix the field, and try again. The issue will be gone.


Cheers.

Thanks, Amir! I got it now.

1 Like