Skip to content

error when using S3 to deploy with multiple AWS_REGION set #453

Description

@teebu

Setting: AWS_REGION=us-east-1,us-west-1

us-east-1 deploys, but throws error when trying to deploy the second lambda to us-west-1.

Error occurred while GetObject. S3 Error Code: PermanentRedirect. S3 Error Message: The bucket is in this region: us-east-1. Please use this region to retry the request

The issue isn't the multiple regions, but the bucket is in us-east-1 and when trying to deploy to us-west-1 it tries to use the west bucket.

Probably the solution is to add DEPLOY_S3_REGION parameter,

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions