I have a bucket created in
us-west-2 along with a lambda function in
us-west-2 and an S3 event trigger for
s3:PutObject . I then use a signed URL to upload a file into the bucket.
Using the AWS CLI with
--region us-west-2 and
http://localhost:4566 reveals the bucket and objects do indeed exist in
us-west-2 . The lambda function is getting invoked in
us-west-2 as well, as per the output logs of the
localstack-pro container (with
This is with the latest LocalStack Pro Docker image.
The event object passed into the Python lambda function handler has an AWS region of
us-east-1 , despite the bucket, the event notification, and the lambda function executing in
Any thoughts or ideas as to what might be going on?