Skip to content

Conversation

@blackymax
Copy link
Owner

@blackymax blackymax commented Aug 1, 2022

1. Task:

https://github.com/EPAM-JS-Competency-center/cloud-development-course-initial/blob/main/2_serving_spa/task.md

2. What is done?

  • Updated serverless policy config
  • Configured serverless profile
  • Mocked "available" API request for products

3. Links:

Manual deploy link S3: http://maksim-charnou-first-manual-aws-app.s3-website-eu-west-1.amazonaws.com/

Cloudfront auto deploy through serverless config: https://d1lxx2deqj5hgt.cloudfront.net/

- " "
- - "arn:aws:iam::cloudfront:user/CloudFront Origin Access Identity"
- !Ref OriginAccessIdentity
Principal: "*"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we return back OAI configuration? Principal: "*" means that your bucket is gonna be public and available for anonymous. Limiting access by OAI gives access to a specific identity and closes bucket from the outside. https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-bucket-user-policy-specifying-principal-intro.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants