Skip to content

bug: S3 Destination only supports Virtual Hosted style requests #13260

@bbernays

Description

@bbernays

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

If you specify a bucket, it will generate the request to go to

<bucket-name>.<endpoint>/path/to/file

This is a relatively new format and in the v2Endpoint it is the default style. Currently there is no way of using the old style:

<endpoint>/<bucket-name>/path/to/file

Expected Behavior

Enable users to choose which path style by exposing the UsePathStyle config option

https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/s3#Options

CloudQuery (redacted) config

NA

Steps To Reproduce

NA

CloudQuery (redacted) logs

NA

CloudQuery version

NA

Additional Context

No response

Pull request (optional)

  • I can submit a pull request

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions