unable to deploy application frontend to dev or prod due to cloudfont issue. I dont think the issue is with cloudfont however there are no logs to diagnose the problem. See below via CLI.

0

I have tried deploying my application via s3 manually uploading the build folder from my react application. It does not update the frontend. Specifically 'dev-mission-objective-frontend'. It's the same case for 'prod-mission-objective-frontend'. Something is failing and there are no logs for it. In addition when trying to deploy via the CLI I get the following error.

{ "Location": "https://cloudfront.amazonaws.com/2020-05-31/distribution//invalidation/***********", "Invalidation": { "Id": "**********", "Status": "InProgress", "CreateTime": "2023-03-13T19:46:45.153000+00:00", "InvalidationBatch": { "Paths": { "Quantity": 1, "Items": [ "/" ] }, "CallerReference": "cli-**************" } } }

<ErrorResponse xmlns="http://cloudfront.amazonaws.com/doc/2020-05-31/ "> <Error> <Type>Sender</Type> <Code>MissingAuthenticationToken</Code> <Message>Missing Authentication Token</Message> </Error> <RequestId>*************************</RequestId> </ErrorResponse>

this is deployed via the following commands

echo "Deploying Frontend..." cd frontend-app export REACT_APP_MODE='dev' npm run build aws s3 sync build/ s3://dev-mission-objective-frontend --acl public-read aws cloudfront create-invalidation --distribution-id E32FFD9KLTYKNZ --paths "/*"

Could there be an issue with storage given I am using basic tier? I don't think it's related to credentials since we have checked and they're all correct. Please let me know how to resolve this issue. Has anyone ever seen this before?

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠