skip to Main Content

Access denied to cloudfront distribution s3

I'm uploading a website to S3 which I configured to be accessed via a cloudfront distribution. When I access the distribution URL through in the browser I get: <Error> <Code>AccessDenied</Code> <Message>Access Denied</Message> <RequestId>TKHNQGGSSHY3ZH6T</RequestId> <HostId>zXD7uBIpJUGHaUl8m5/9xtm2cnvX/Kok6rYp0oz6RFbqJeLreohaOWHx4jHJ/F675UGxo1SfEYs= </HostId> </Error> This is my sam…

VIEW QUESTION

Amplify "npm install –save aws-amplify @aws-amplify/ui-angular" breaks the code

Following this tutorial: https://docs.amplify.aws/start/getting-started/setup/q/integration/angular/#install-amplify-libraries when I do npm install --save aws-amplify @aws-amplify/ui-angular I get compilation error Error: node_modules/type-fest/ts41/get.d.ts:93:37 - error TS2344: Type 'BaseType' does not satisfy the constraint 'Record<string | number, any>' I follow the advice in https://github.com/aws-amplify/amplify-js/issues/10775 and now…

VIEW QUESTION

AWS HTTP API Gateway + Lambda ( Node/express) 503 Service unavailable

I don't have much knowledge in AWS I have following setup, const express = require("express"); const serverless = require("serverless-http"); const app = express(); app.use(cors()); app.use((req, res, next) => { res.setHeader('Connection', 'keep-alive'); res.setHeader('Keep-Alive', 'timeout=30'); res.setHeader("Access-Control-Allow-Headers", "X-Requested-With,content-type"); res.setHeader("Access-Control-Allow-Origin", "*"); res.setHeader("Access-Control-Allow-Methods", "GET, POST,…

VIEW QUESTION
Back To Top
Search