Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
veqryn opened this issue Oct 23, 2024 · 0 comments

Comments

@veqryn
Copy link

veqryn commented Oct 23, 2024

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
		})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant