Reputation: 636
Writing test cases to test file upload functionality using presigned url. I am running localstack in docker local as aws environment. I am able to test direct upload to local stack, however when I try to upload using presigned url it is failing as my presigned url is generated with https and my local stack is running on http.
Any suggestions on how to test in local?
Upvotes: 1
Views: 1490
Reputation: 41
I suppose it is not possible since the hostname and domain name in the pre-signed URL (.s3..amazonaws.com) would always be resolved to the remote/cloud AWS and not localhost, irrespective of the protocol.
Upvotes: 1