Skip to content

Request: Ability to set an AWS Endpoint, and Support for local development through LocalStack. #39

@veqryn

Description

@veqryn

I use Localstack for local development.
It has support for Athena: https://docs.localstack.cloud/user-guide/aws/athena/
It is basically a way to run a mock aws account in local development.

Unfortunately, when I try to use this athena sql driver with it, the driver is trying to talk to AWS instead of my local localstack endpoint.

There needs to be a way to point athenadriver at other providers and endpoints.

Example of setting an endpoint:

		athenaClient = athena.NewFromConfig(awsConfig, func(options *athena.Options) {
			options.BaseEndpoint = aws.String("http://localstack:4566/") // Point to localstack container
		})

Metadata

Metadata

Assignees

No one assigned

    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