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

Allow support for aws service endpoint env vars with aws-sdk-v2 #134

Open
matthewhudsonedb opened this issue Sep 2, 2024 · 1 comment
Open

Comments

@matthewhudsonedb
Copy link

matthewhudsonedb commented Sep 2, 2024

AWS has introduced service endpoint env vars

This allows for setting the following env vars when using aws-sdk-v2:

AWS_ENDPOINT_URL_
Specifies a custom endpoint that is used for a specific service, where is replaced with the AWS service identifier. For example, Amazon DynamoDB has a serviceId of DynamoDB. For this service, the endpoint URL environment variable is AWS_ENDPOINT_URL_DYNAMODB.

For a list of all service-specific environment variables, see List of service-specific identifiers.

Setting the following ENV VARS with aws-sdk-v2 enabled should allow thanos to connect to the respective services:
AWS_ENDPOINT_URL_S3: https://minio.minio-tenant-default.svc.cluster.local:443
AWS_ENDPOINT_URL_STS: https://sts.minio-operator.svc.cluster.local:4223/sts/minio-tenant-default

@matthewhudsonedb matthewhudsonedb changed the title Allow support for aws service endpoint env vars Allow support for aws service endpoint env vars with aws-sdk-v2 Sep 2, 2024
@matthewhudsonedb
Copy link
Author

I have the following PR which bumps the aws-sdk-v2/config package and have tested this successfully locally: #132

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