aws-genai-llm-chatbot
aws-genai-llm-chatbot copied to clipboard
Deploying to some regions (e.g af-south-1) fails due to unsupported S3 bucket transfer acceleration
Observed behavior: Trying to deploy in af-south-1 fails with the following error
CREATE_FAILED | AWS::S3::Bucket | ChatBotApi/ChatBuckets/FilesBucket
Resource handler returned message: "The specified method is not allowed against this resource. (Service: S3, Status Code: 405, Request ID: C00J
F9WW28XZJXGB, Extended Request ID: IdWiRUR5nSHM6c0jGCITzb8vbMsi/ABokNEfZGplK2XJ8I0k3ZbTgsPxC6qZW2gFT6ABqMoQ5pE=)" (RequestToken: 6e181d3e-5e49-
bb5b-67d8-38bc69a50646, HandlerErrorCode: GeneralServiceException)
Root cause: Transfer acceleration is not supported in some regions
.
There is a workaround to set transferAcceleration to false for filesBucket in \lib\chatbot-api\chatbot-s3-buckets\index.ts.
To resolve this permanently, an would be to add this to the advanced setting in config.
This issue is stale because it has been open for 60 days with no activity.
This issue was closed because it has been inactive for 30 days since being marked as stale.