aws-samples / serverless-coffee-workshop

This is the repo for Serverlesspresso workshop. Questions? Contact @jbesw or @benjamin_l_s on GitHub or Twitter.
https://workshop.serverlesscoffee.com/
MIT No Attribution
98 stars 63 forks source link

S3 access is not working now! #69

Open genesis0614 opened 2 days ago

genesis0614 commented 2 days ago

hi ! im learning AWS :> I want to try serverless presso, but I ran into a problem.

im trying to build this workshop and I get an error message when I want to deploy this in my own account S3 error: Access Denied For more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html

https://ee-assets-prod-us-east-1.s3.amazonaws.com/modules/67b03f2bcecc4fafb15053897585b61f/v1/cloudformationvLatest.yml

AccessDenied Access Denied A3K39VQW7W5R6GQQ 75+rllJOY5Bv71lCaUKRUFRQRW5rVCDYi05vIYJKHDsJyPVXv32Wn7OWdvOW9UlPIF6Qd15OBVs=

bfreiberg commented 2 days ago

Hi @genesis0614 , thanks for creating this issue. Could you please share where exactly you found this command or which section you were following as you encountered this issue. Thank you

genesis0614 commented 2 days ago

ty for u r re:Post! @bfreiberg

[0] I am not good at English. This was written using Google Translate. and! I'm new to GitHub. If I've used you in a wrong or rude way, please tell me! I'll fix it.

[1] I don't have a workshop event code, so I chose self hosted : https://catalog.us-east-1.prod.workshops.aws/workshops/28e7066a-b0bb-42ad-a0e9-8e8eeeb51133/en-US/99-the-code/2-self-hosted

[2] I selected [Region: US East (N. Virginia) us-east-1 / Launch stack: [Launch Stack Link]] in [1.Launch the AWS CloudFormation template] in Self hosted.

[3] My Cloud Formation is showing the following error in red: [ S3 error: Access Denied For more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html ] image

[4] So I took the second approach. I looked at this github directory. And tried to find the template used in the cloud formation above. serverless-coffee-workshop/setup /template.yaml image

[5] I downloaded this directly and put it into Cloud Formation. image

[6] These are the values ​​I put in (most of them followed the defaults). image image

[7] Directly downloaded template.yaml is also causing errors! image

[8] If you need more additional information, please tell me!

bfreiberg commented 1 day ago

Thanks @genesis0614 for the detailed instructions. I've added a working version of the template here: https://github.com/aws-samples/serverless-coffee-workshop/blob/main/templates/workshop-self-service.yaml

This should unblock you. We will update the workshop soon to fully resolve this issue.

genesis0614 commented 1 day ago

@bfreiberg thx for u r re:Post !