該s3-event開源專案,同時部署拋出一個錯誤
chalice new-project
s3-event-source
chalice deploy
錯誤:
chalice.deploy.deployer.ChaliceDeploymentError: ERROR - While deploying your chalice application, received the following error:
An error occurred (InvalidArgument) when calling the
PutBucketNotificationConfiguration operation: The notification destination
service region is not valid for the bucket location constraint
uj5u.com熱心網友回復:
將 chalice 應用程式部署到您創建 s3 存盤桶的同一區域。
如果您的 s3 存盤桶位于愛爾蘭 (eu-west-1),請在您的 CLI 中運行:
export AWS_DEFAULT_REGION=eu-west-1
根據您的 s3 存盤桶相應地更改區域。
轉載請註明出處,本文鏈接:https://www.uj5u.com/qiye/351548.html
