Configure S3 in Serverless

#1

Link to chapter - https://serverless-stack.com/chapters/configure-s3-in-serverless.html

#2

Don’t we miss 2 things here?

  1. IAM configuration to give access to the attachment bucket

    • Effect: “Allow”
      Action:
      • s3:GetObject
      • s3:PutObject
        Resource:
      • “Fn::Join”: [ “/”, [ “Fn::GetAtt”: [ AttachmentsBucket, “Arn” ], “private”, “", "” ] ]
  2. S3 bucket to deploy the front-end

#3

The IAM configuration is added in this chapter - https://serverless-stack.com/chapters/configure-cognito-identity-pool-in-serverless.html

The frontend app in this section uses Netlify instead of S3.