logstash-input-s3-sns-sqs icon indicating copy to clipboard operation
logstash-input-s3-sns-sqs copied to clipboard

S3 URL format doesn't work with localstack

Open shane-od opened this issue 4 years ago • 0 comments

Setting s3_default_options.endpoint to http://docker.for.mac.localhost:4566 (pointing to host machine's localstack) throws Failed to open TCP connection to my-bucket.docker.for.mac.localhost:4566 (initialize: name or service not known)

Which is obviously because that subdomain/hostname is not valid. I believe there's an alternative URL format that puts the bucket as a folder instead of a subdomain. That should be preferred for compatibility with localstack.

shane-od avatar Jan 06 '21 14:01 shane-od