aws s3 endpoints error ResourceNotReady

0

I created my amplify application which was working perfectly 2 months ago but recently I have started getting this error, and the main issue is I am not directly accessing the s3 bucket from my application code.

Resource Name: functionlambdaFunction2 (AWS::CloudFormation::Stack) Event Type: update Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint. For more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html

detailed error: { "name": "DeploymentFault", "classification": "FAULT", "options": { "message": "Resource is not in the state stackUpdateComplete", "code": "ResourceNotReady", "details": "Name: functionlambdaFunction (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n\nName: functionlambdaFunction2 (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n\nName: hostingamplifyhosting (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n\nName: functionhasamplifyreactapp1lambdaLayer (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n" }, "downstreamException": { "message": "Resource is not in the state stackUpdateComplete", "code": "ResourceNotReady", "retryable": false, "time": "2023-10-21T15:35:14.393Z", "statusCode": 200, "retryDelay": 30000, "details": "Name: functionlambdaFunction (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n\nName: functionlambdaFunction2 (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n\nName: hostingamplifyhosting (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n\nName: functionhasamplifyreactapp1lambdaLayer (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n" }, "details": "Name: functionlambdaFunction (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n\nName: functionlambdaFunction2 (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n\nName: hostingamplifyhosting (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n\nName: functionhasamplifyreactapp1lambdaLayer (AWS::CloudFormation::Stack), Event Type: update, Reason: S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.\nFor more information check http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html, IsCustomResource: false\n", "code": "ResourceNotReady", "link": "https://docs.amplify.aws/cli/project/troubleshooting/" }

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions